vault

package module
v0.0.0-...-aa57a9d 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: 7 Imported by: 0

README

micro-config-vault

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultStructTag = "vault"
	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 RoleID

func RoleID(role string) config.Option

func SecretID

func SecretID(secret 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