Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consul ¶
Consul implements the consul provider.
func NewProvider ¶
NewProvider returns a new consul provider.
func (*Consul) AddEndpoint ¶
AddEndpoint adds the provided endpoint to the consul register.
func (*Consul) AddEndpointAddr ¶
AddEndpointAddr adds the provided address to the consul register.
func (*Consul) RemoveEndpoint ¶
RemoveEndpoint removes the endpoint with the provided id from the consul register.
Click to show internal directories.
Click to hide internal directories.