Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterClientService ¶
func RegisterEtcdService ¶
func RegisterEtcdService(endpoints []string)
Types ¶
type ClientInfo ¶
type ClientService ¶
func (*ClientService) HeartBeat ¶
func (c *ClientService) HeartBeat()
type EtcdService ¶
func (*EtcdService) Add ¶
func (e *EtcdService) Add(peers *Peers)
func (*EtcdService) Remove ¶
func (e *EtcdService) Remove(peers *Peers)
func (*EtcdService) Update ¶
func (e *EtcdService) Update(peers *Peers)
func (*EtcdService) Watch ¶
func (e *EtcdService) Watch()
type Peers ¶
func RespNodeToPeers ¶
Click to show internal directories.
Click to hide internal directories.