vault

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

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugLog = log.New(os.Stdout, "debug#", log.Lshortfile)
	ErrorLog = log.New(os.Stderr, "error#", log.Lshortfile)
)

Functions

This section is empty.

Types

type Vault

type Vault struct {
	Addr  string
	Token string
	Name  string
	Value string
	// contains filtered or unexported fields
}

func NewVault

func NewVault(addr string, token string, name string) (*Vault, error)

func (*Vault) LoadValue

func (vault *Vault) LoadValue() error

func (*Vault) ReloadRoutine

func (vault *Vault) ReloadRoutine(interval time.Duration, ctx context.Context)

Jump to

Keyboard shortcuts

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