mirror of https://github.com/hashicorp/consul
19 lines
518 B
Go
19 lines
518 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package api
|
|
|
|
// TelemetryCollectorName is the service name for the Consul Telemetry Collector
|
|
const TelemetryCollectorName string = "consul-telemetry-collector"
|
|
|
|
// Connect can be used to work with endpoints related to Connect, the
|
|
// feature for securely connecting services within Consul.
|
|
type Connect struct {
|
|
c *Client
|
|
}
|
|
|
|
// Connect returns a handle to the connect-related endpoints
|
|
func (c *Client) Connect() *Connect {
|
|
return &Connect{c}
|
|
}
|