Documentation ¶
Index ¶
- type Config
- func (c Config) GetGORMConfig() *gormds.GORMConfig
- func (c Config) GetGRPCConfig() *grpc.GRPCConfig
- func (c Config) GetHTTPConfig() *web.HTTPConfig
- func (c Config) GetLoggerConfig() *logger.LoggerConfig
- func (c Config) GetProductConfig() *productgrpc.ProductConfig
- func (c Config) GetRedisConfig() *redis.RedisConfig
- func (c Config) GetStage() string
- func (c Config) GetUserAuthConfig() *userauthgrpc.UserAuthConfig
- type DatasourcesConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Stage string HTTP *web.HTTPConfig GRPC *grpc.GRPCConfig Logger *logger.LoggerConfig Datasources *DatasourcesConfig UserAuth *userauthgrpc.UserAuthConfig Product *productgrpc.ProductConfig Redis *redis.RedisConfig }
func (Config) GetGORMConfig ¶
func (c Config) GetGORMConfig() *gormds.GORMConfig
func (Config) GetGRPCConfig ¶
func (c Config) GetGRPCConfig() *grpc.GRPCConfig
func (Config) GetHTTPConfig ¶
func (c Config) GetHTTPConfig() *web.HTTPConfig
func (Config) GetLoggerConfig ¶
func (c Config) GetLoggerConfig() *logger.LoggerConfig
func (Config) GetProductConfig ¶
func (c Config) GetProductConfig() *productgrpc.ProductConfig
func (Config) GetRedisConfig ¶
func (c Config) GetRedisConfig() *redis.RedisConfig
func (Config) GetUserAuthConfig ¶
func (c Config) GetUserAuthConfig() *userauthgrpc.UserAuthConfig
type DatasourcesConfig ¶
type DatasourcesConfig struct {
GORM *gormds.GORMConfig
}
Click to show internal directories.
Click to hide internal directories.