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