environmentvariables

package module
v0.0.0-...-7a87de5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDelimiter       = "__"
	DefaultRefreshInterval = time.Second * 10
)

Variables

This section is empty.

Functions

func New

func New(options *Options) modules.Module

Types

type Module

type Module struct {
	modules.ModuleBase
	EnvOptions Options
	WaitGroup  sync.WaitGroup
	QuitC      chan interface{}
}

func (*Module) Deconstruct

func (e *Module) Deconstruct()

func (*Module) GetRefreshedValue

func (e *Module) GetRefreshedValue(key string) interface{}

func (*Module) Load

func (e *Module) Load()

type Options

type Options struct {
	modules.Options
	Prefix          string
	Delimiter       string
	RefreshInterval time.Duration
}

Jump to

Keyboard shortcuts

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