Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewWithClient ¶
func (*Client) DeRegister ¶
func (c *Client) DeRegister(svc *consul.AgentServiceRegistration) error
Deregister removes a client from consul's service list
func (*Client) RegisterService ¶
func (c *Client) RegisterService(svc *consul.AgentServiceRegistration) error
RegisterService takes a service definition and adds it to consul
Click to show internal directories.
Click to hide internal directories.