blob: 079e22486639583e47ae09bdcc9db27febb6c839 [file] [log] [blame]
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}
}