12 lines
241 B
Go
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}
|
|
}
|