startup_consul

package module
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 4 Imported by: 1

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 `` /* 160-byte string literal not displayed */
	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL