configure

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 10 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(reader ConfigReader)

func Bind added in v1.3.6

func Bind(structure interface{}) error

func BindConfiguration added in v1.3.6

func BindConfiguration(o component.ConfigurationProperties) error

func BindPath added in v1.3.6

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

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)

Types

type ConfigReader added in v1.3.6

type ConfigReader func(environment string) []byte

ConfigReader returns byte array only support json and yaml

Jump to

Keyboard shortcuts

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