Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DeliveryType string `mapstructure:"deliveryType" env:"DeliveryType"` ServiceName string `mapstructure:"serviceName" env:"ServiceName"` Logger *logger.LogConfig `mapstructure:"logger" envPrefix:"Logger_"` GRPC *grpc.GrpcConfig `mapstructure:"grpc" envPrefix:"GRPC_"` Http *customEcho.EchoHttpConfig `mapstructure:"http" envPrefix:"Http_"` Context Context `mapstructure:"context" envPrefix:"Context_"` Postgresql *postgres.Config `mapstructure:"postgres" envPrefix:"Postgresql_"` GormPostgres *gormPostgres.Config `mapstructure:"gormPostgres" envPrefix:"GormPostgres_"` RabbitMQ *config.RabbitMQConfig `mapstructure:"rabbitmq" envPrefix:"RabbitMQ_"` Probes probes.Config `mapstructure:"probes" envPrefix:"Probes_"` OTel *otel.OpenTelemetryConfig `mapstructure:"otel" envPrefix:"OTel_"` EventStoreConfig eventstroredb.EventStoreConfig `mapstructure:"eventStoreConfig" envPrefix:"EventStoreConfig_"` }
func InitConfig ¶
func (*Config) GetMicroserviceName ¶
func (*Config) GetMicroserviceNameUpper ¶
Click to show internal directories.
Click to hide internal directories.