Documentation ¶
Index ¶
- type RegDiscover
- func (r *RegDiscover) GetEventServ() (string, error)
- func (r *RegDiscover) GetHostServ() (string, error)
- func (r *RegDiscover) GetProcServ() (string, error)
- func (r *RegDiscover) GetServer(servType string) (string, error)
- func (r *RegDiscover) GetTopoServ() (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) GetEventServ ¶
func (r *RegDiscover) GetEventServ() (string, error)
GetTopoServ fetch topo server
func (*RegDiscover) GetHostServ ¶
func (r *RegDiscover) GetHostServ() (string, error)
GetHostServ fetch host server
func (*RegDiscover) GetProcServ ¶
func (r *RegDiscover) GetProcServ() (string, error)
GetProcServ fetch topo server
func (*RegDiscover) GetTopoServ ¶
func (r *RegDiscover) GetTopoServ() (string, error)
GetTopoServ fetch topo server
Click to show internal directories.
Click to hide internal directories.