Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulControl ¶
type ConsulControl struct { Client *api.Client Config *api.AgentServiceRegistration }
func ConnConsul ¶
func ConnConsul(addr string) (*ConsulControl, error)
func (*ConsulControl) Register ¶
func (c *ConsulControl) Register(config *api.AgentServiceRegistration) error
func (*ConsulControl) UnRegister ¶
func (c *ConsulControl) UnRegister(serviceId string) error
Click to show internal directories.
Click to hide internal directories.