Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulConfig ¶
type ConsulConfig struct { sync.RWMutex Address string Token string SSL bool // contains filtered or unexported fields }
func (*ConsulConfig) CreateClient ¶
func (c *ConsulConfig) CreateClient() (*api.Client, error)
func (*ConsulConfig) Merge ¶
func (c *ConsulConfig) Merge(other *ConsulConfig) error
func (*ConsulConfig) RegisterFlags ¶
func (c *ConsulConfig) RegisterFlags(f *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.