rdiscover

package
v3.0.8-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

func (*RegDiscover) GetServer

func (r *RegDiscover) GetServer(servType string) (string, error)

GetServer fetch server info

func (*RegDiscover) Ping

func (r *RegDiscover) Ping() error

Ping the server

func (*RegDiscover) Start

func (r *RegDiscover) Start() error

Start the register and discover

func (*RegDiscover) Stop

func (r *RegDiscover) Stop() error

Stop the register and discover

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL