rdiscover

package
v0.0.0-...-7378411 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 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) GetAPIServ

func (r *RegDiscover) GetAPIServ() (string, error)

GetAPIServ get api-server

func (*RegDiscover) GetServer

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

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