Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // A Consul server URL Endpoint string `yaml:"endpoint"` // An optional username to use when connecting Username string `yaml:"username"` // An optional password to use when connecting Password string `yaml:"password" neverLog:"true"` // An authentication token, if needed Token string `yaml:"token" neverLog:"true"` // The Consul datacenter to use Datacenter string `yaml:"datacenter"` }
Config for the consul client
Click to show internal directories.
Click to hide internal directories.