Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeRegister ¶
func (*Client) RegisterService ¶
func (c *Client) RegisterService(svc *consul.AgentServiceRegistration) (string, error)
RegisterService takes a service definition and adds it to consul It disregards whatever ID was given and uses a uuid internal so as to prevent clashes
Click to show internal directories.
Click to hide internal directories.