khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [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 | } |