env

package
v0.5.1-nightly Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEncryptedKV

func AddEncryptedKV(envMap *map[string]string) error

func AddEnv

func AddEnv(envMap *map[string]string) error

func AddPersistentEnv

func AddPersistentEnv(kvStr string) error

func CreateNewPassword

func CreateNewPassword() (string, error)

func ReadEncryptedKV

func ReadEncryptedKV(password string) (*map[string]string, error)

func ReadEnv

func ReadEnv() (*map[string]string, error)

For reading and storing environment variables. Main pkg: https://github.com/knadh/koanf We are using the koanf file provider and dotenv parser.

func ReadKVFile

func ReadKVFile(filepath string) (*map[string]string, error)

func RetrievePasswordFromUser

func RetrievePasswordFromUser() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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