Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CodeSuccess success code CodeSuccess = 0 // CodeError error code CodeError = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminServer ¶
type AdminServer struct {
// contains filtered or unexported fields
}
AdminServer http interface server
func NewAdminServer ¶
func NewAdminServer(addr string, etcdAddrs []string, etcdPrefix string, user string, pwd string) *AdminServer
NewAdminServer create a AdminServer
type AnalysisPoint ¶
type AnalysisPoint struct { ProxyAddr string `json:"proxyAddr,omitempty"` ServerAddr string `json:"serverAddr,omitempty"` Secs int `json:"secs,omitempty"` }
AnalysisPoint analysis point
Click to show internal directories.
Click to hide internal directories.