consul

package module
v0.0.0-...-5d62bf3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

README

micro-config-consul

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultStructTag = "consul"
	ErrPathNotExist  = errors.New("path is not exist")
)

Functions

func Address

func Address(addr string) config.Option

func Config

func Config(cfg *api.Config) config.Option

func NewConfig

func NewConfig(opts ...config.Option) config.Config

func Path

func Path(path string) config.Option

func Token

func Token(token string) config.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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