Takahiro Suzuki | 241c10e | 2020-12-17 20:17:57 +0900 | [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 | } |