Documentation ¶
Index ¶
- type RegDiscover
- func (r *RegDiscover) GetAuditCtrlServ() (string, error)
- func (r *RegDiscover) GetHostCtrlServ() (string, error)
- func (r *RegDiscover) GetObjectCtrlServ() (string, error)
- func (r *RegDiscover) GetServer(servType string) (string, error)
- func (r *RegDiscover) Start() error
- func (r *RegDiscover) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegDiscover ¶
type RegDiscover struct {
// contains filtered or unexported fields
}
RegDiscover register and discover
func NewRegDiscover ¶
func NewRegDiscover(zkserv string, ip string, port uint, isSSL bool) *RegDiscover
NewRegDiscover create a RegDiscover object
func (*RegDiscover) GetAuditCtrlServ ¶
func (r *RegDiscover) GetAuditCtrlServ() (string, error)
GetAuditCtrlServ fetch auditcontroller server info
func (*RegDiscover) GetHostCtrlServ ¶
func (r *RegDiscover) GetHostCtrlServ() (string, error)
GetHostCtrlServ get hostcontroller server info
func (*RegDiscover) GetObjectCtrlServ ¶
func (r *RegDiscover) GetObjectCtrlServ() (string, error)
GetObjectCtrlServ fetch objectcontroller server info
Click to show internal directories.
Click to hide internal directories.