Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromFile ¶
func FromFile(name string, opts ...Option) core.ConfigProvider
FromFile reads from named config file
func FromRaw ¶
func FromRaw(configBytes []byte, configType string, opts ...Option) core.ConfigProvider
FromRaw will initialize the configs from a byte array
func FromReader ¶
FromReader loads configuration from in. configType can be "json" or "yaml".
Types ¶
Click to show internal directories.
Click to hide internal directories.