Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdClient ¶
type EtcdClient struct {
// contains filtered or unexported fields
}
func (*EtcdClient) Deregister ¶
func (c *EtcdClient) Deregister()
func (*EtcdClient) GetService ¶
func (c *EtcdClient) GetService(name string, clientIp string) (*models.ServiceNode, error)
func (*EtcdClient) Register ¶
func (c *EtcdClient) Register(s *config.RegisterNode) error
func (*EtcdClient) Watch ¶
func (c *EtcdClient) Watch(s *config.DiscoveryNode) error
Click to show internal directories.
Click to hide internal directories.