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"`
ConfigReader configutils.Config `yaml:"ConfigReader"`
AppNames []string `yaml:"AppNames"`
Server Server `yaml:"Server" `
Repository sql.Config `yaml:"Repository"`
Service service.Config `yaml:"Service"`
Debug debug.Config `yaml:"Debug"`
}
func LoadConfig ¶
func LoadConfig(ctx context.Context, path string, env string) *Configuration
type Server ¶
type Server struct {
GRPC ServerConfig `yaml:"GRPC"`
HTTP ServerConfig `yaml:"HTTP"`
}
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.