Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { StartTimeout time.Duration `yaml:"start_timeout"` StopTimeout time.Duration `yaml:"stop_timeout"` Env string `yaml:"env"` UseCase UseCaseConfig `yaml:"use_case"` GRPC GRPCConfig `yaml:"grpc"` Postgres pg.Config `yaml:"postgres"` Redis rd.Config `yaml:"redis"` }
func LoadConfig ¶
func LoadConfig() *Config
type GRPCConfig ¶
type UseCaseConfig ¶
Click to show internal directories.
Click to hide internal directories.