Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulConfig ¶
type ConsulConfig struct { // Address is the address of the Consul server Address string // Scheme is the URI scheme for the Consul server Scheme string // Datacenter to use. If not provided, the default agent datacenter is used. Datacenter string // Token is used to provide a per-request ACL token // which overrides the agent's default token. Token string // Namespace is the name of the namespace to send along for the request // when no other Namespace ispresent in the QueryOptions Namespace string }
type Service ¶
type Service struct { Name string Instances []*Instance Intentions []string ProxyTLS *ProxyTLS TLS }
func NewService ¶
func NewService(svc *service) Service
type TLS ¶
func (*TLS) CertString ¶
Click to show internal directories.
Click to hide internal directories.