2018-03-27 23:50:17 +00:00
|
|
|
package api
|
|
|
|
|
|
|
|
// Connect can be used to work with endpoints related to Connect, the
|
|
|
|
// feature for securely connecting services within Consul.
|
|
|
|
type Connect struct {
|
|
|
|
c *Client
|
|
|
|
}
|
|
|
|
|
2018-03-28 21:16:41 +00:00
|
|
|
// Connect returns a handle to the connect-related endpoints
|
2018-03-27 23:50:17 +00:00
|
|
|
func (c *Client) Connect() *Connect {
|
|
|
|
return &Connect{c}
|
|
|
|
}
|