blob: a40d1e2321ab99a211a77d65a27860b5fb28c214 [file] [log] [blame]
divyadesai81bb7ba2020-03-11 11:45:23 +00001package api
2
3// Connect can be used to work with endpoints related to Connect, the
4// feature for securely connecting services within Consul.
5type Connect struct {
6 c *Client
7}
8
9// Connect returns a handle to the connect-related endpoints
10func (c *Client) Connect() *Connect {
11 return &Connect{c}
12}