env

package
v0.0.0-...-7686319 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvProvider

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

func New

func New() *EnvProvider

func (*EnvProvider) Get

func (p *EnvProvider) Get(key string) (interface{}, error)

func (*EnvProvider) NotifyChange

func (p *EnvProvider) NotifyChange() chan bool

NotifyChange return a channel and notify you when file be changed.

func (*EnvProvider) SetEnvPrefix

func (p *EnvProvider) SetEnvPrefix(prefix string)

Jump to

Keyboard shortcuts

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