Documentation ¶
Index ¶
- func AddConfigReader(reader ConfigReader)
- func Bind(structure interface{}) error
- func BindConfiguration(o component.ConfigurationProperties) error
- func BindPath(valuePath string, o interface{}) error
- func Get(valuePath string) interface{}
- func GetConfig() map[string]interface{}
- func Init(environment string)
- func SetConfig(config []byte)
- type ConfigReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddConfigReader ¶ added in v1.3.6
func AddConfigReader(reader ConfigReader)
func BindConfiguration ¶ added in v1.3.6
func BindConfiguration(o component.ConfigurationProperties) error
Types ¶
type ConfigReader ¶ added in v1.3.6
ConfigReader returns byte array only support json and yaml
Click to show internal directories.
Click to hide internal directories.