William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 1 | package api |
2 | |||||
3 | // Connect can be used to work with endpoints related to Connect, the | ||||
4 | // feature for securely connecting services within Consul. | ||||
5 | type Connect struct { | ||||
6 | c *Client | ||||
7 | } | ||||
8 | |||||
9 | // Connect returns a handle to the connect-related endpoints | ||||
10 | func (c *Client) Connect() *Connect { | ||||
11 | return &Connect{c} | ||||
12 | } |