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) GetProcServ

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

GetProcServ fetch proc server info

func (*RegDiscover) GetServer

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

func (*RegDiscover) GetTopoServ

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

GetTopoServ fetch topo server

func (*RegDiscover) Ping

func (cc *RegDiscover) Ping() error

Ping to ping 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