configure

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConfigReader added in v1.3.6

func AddConfigReader(loader ConfigLoader)

func Bind added in v1.3.6

func Bind(structure interface{}) error

func BindConfiguration added in v1.3.6

func BindConfiguration(o statement.AutoConfigure) error

func BindPath added in v1.3.6

func BindPath(valuePath string, o interface{}) error

func CompileVariable added in v1.4.2

func CompileVariable()

func Get added in v1.3.6

func Get(valuePath string) interface{}

func GetConfig

func GetConfig() map[string]interface{}

func Init added in v1.3.6

func Init(environment string)

func SetConfig added in v1.2.6

func SetConfig(config []byte)

func UpdateConfig added in v1.4.4

func UpdateConfig()

Types

type ConfigLoader added in v1.4.3

type ConfigLoader interface {
	Load(environment string) ([]byte, error)
	RegisterListener(environment string) error
}

Jump to

Keyboard shortcuts

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