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
}
Client is a type that represents a Consul client
func (*Client) Create ¶
Create is a method that creates a Consul service It returns the service's ID or an error The ID is a hash of the service's URL|Endpoint
func (*Client) Delete ¶
Delete is a method that deletes a Consul service It uses the service's ID to identify the service
Click to show internal directories.
Click to hide internal directories.