config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PasswordLength     = 16
	PasswordNumDigits  = 3
	PasswordNumSymbols = 3
)

Variables

This section is empty.

Functions

func GeneratePassword

func GeneratePassword() string

Types

type Config

type Config struct {
	Env   map[string]map[string]string `toml:"env"`
	Vault map[string]string            `toml:"vault"`
}

func Get

func Get() (Config, error)

func ReadConfig

func ReadConfig(reader io.Reader) (Config, error)

func (Config) Environ

func (c Config) Environ(namespace string) []string

Jump to

Keyboard shortcuts

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