open-consul/api/operator.go
2017-03-30 12:35:50 -07:00

12 lines
241 B
Go

package api
// Operator can be used to perform low-level operator tasks for Consul.
type Operator struct {
c *Client
}
// Operator returns a handle to the operator endpoints.
func (c *Client) Operator() *Operator {
return &Operator{c}
}