Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(ProvideConfig), )
Module provided to fx
Functions ¶
This section is empty.
Types ¶
type ApplicationConfig ¶
type ApplicationConfig struct {
Address string `yaml:"address"`
}
ApplicationConfig ...
type Config ¶
type Config struct {
ApplicationConfig `yaml:"application"`
}
Config ...
func ProvideConfig ¶
func ProvideConfig() *Config
ProvideConfig provides the standard configuration to fx
Click to show internal directories.
Click to hide internal directories.