2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-14 07:44:50 +00:00
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}
}