env

package
v0.6.12 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FailedToLoadEnvironmentVariablesError = errors.New("failed to load environment variables")
)

Functions

func LoadVariable added in v0.6.0

func LoadVariable(key string) (uri string, err error)

LoadVariable load variable from environment variables

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(logger commonlogger.Logger) Logger

NewLogger creates a new environment logger

func (Logger) EnvironmentVariableLoaded

func (l Logger) EnvironmentVariableLoaded(variablesName ...string)

EnvironmentVariableLoaded logs a message when an environment variable is loaded

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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