Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "configfx", fx.Provide(func() environment.Environment { return environment.ConfigAppEnv() }), )
Module provided to fxlog https://uber-go.github.io/fx/modules.html
View Source
var ModuleFunc = func(e environment.Environment) fx.Option { return fx.Module( "configfx", fx.Provide(func() environment.Environment { return environment.ConfigAppEnv(e) }), ) }
Functions ¶
func BindConfig ¶
func BindConfig[T any](environments ...environment.Environment) (T, error)
func BindConfigKey ¶
func BindConfigKey[T any]( configKey string, environments ...environment.Environment, ) (T, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.