Documentation ¶ Index ¶ type Etcd func NewEtcd(endpoints, prefix string) *Etcd func (s *Etcd) IsStop() bool func (s *Etcd) RegisterService(key, value string) error func (s *Etcd) Start(h servmesh.ServMeshHander) (err error) func (s *Etcd) Stop() func (s *Etcd) UnregisterService(key string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Etcd ¶ type Etcd struct { // contains filtered or unexported fields } func NewEtcd ¶ func NewEtcd(endpoints, prefix string) *Etcd func (*Etcd) IsStop ¶ func (s *Etcd) IsStop() bool func (*Etcd) RegisterService ¶ func (s *Etcd) RegisterService(key, value string) error RegisterService register node to etcd func (*Etcd) Start ¶ func (s *Etcd) Start(h servmesh.ServMeshHander) (err error) func (*Etcd) Stop ¶ func (s *Etcd) Stop() func (*Etcd) UnregisterService ¶ func (s *Etcd) UnregisterService(key string) error Source Files ¶ View all Source files etcd.go Click to show internal directories. Click to hide internal directories.