Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsulOptions ¶
type ConsulOptions struct {
Consul string `long:"consul" default:"localhost:8500" validate:"hostport" description:"Consul address. Defaults to localhost:8500."`
SSL bool `long:"consul-ssl" description:"Use https to connect to the consul api."`
DC string `long:"consul-datacenter" description:"Override the default consul datacenter to query."`
// contains filtered or unexported fields
}
func (*ConsulOptions) ConsulClient ¶
func (opts *ConsulOptions) ConsulClient() *consul.Client
func (*ConsulOptions) SchemaRegistry ¶
func (opts *ConsulOptions) SchemaRegistry() schema.Registry
Click to show internal directories.
Click to hide internal directories.