Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
LogConfig bool `yaml:"LogConfig"`
Logger logger.Config `yaml:"Logger"`
AppNames []string `yaml:"AppNames"`
Server http_server.Config `yaml:"Server"`
Repository repo.Config `yaml:"Repository"`
Service service.Config `yaml:"Service"`
Cache cache.Config `yaml:"Cache"`
}
func LoadConfig ¶
func LoadConfig(ctx context.Context, path string, env string) *Configuration
Click to show internal directories.
Click to hide internal directories.