Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultGrpcServer = NewGrpcServer()
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Services []config.ServiceEnv // contains filtered or unexported fields }
type EtcdConfig ¶
type EtcdManager ¶
type EtcdManager interface { Register(key string, addrs ...string) UnRegister(key string) // contains filtered or unexported methods }
func NewEtcd ¶
func NewEtcd(config *EtcdConfig) EtcdManager
Click to show internal directories.
Click to hide internal directories.