Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMicroserviceName ¶
Types ¶
type Config ¶
type Config struct { ServiceName string `mapstructure:"serviceName"` Logger *logger.LoggerConfig `mapstructure:"logger"` Rabbitmq *rabbitmq.RabbitMQConfig `mapstructure:"rabbitmq"` Echo *config.EchoConfig `mapstructure:"echo"` Grpc *grpc.GrpcConfig `mapstructure:"grpc"` GormPostgres *gorm_postgres.GormPostgresConfig `mapstructure:"gormPostgres"` Jaeger *open_telemetry.JaegerConfig `mapstructure:"jaeger"` }
func InitConfig ¶
func InitConfig() (*Config, *logger.LoggerConfig, *open_telemetry.JaegerConfig, *gorm_postgres.GormPostgresConfig, *grpc.GrpcConfig, *config.EchoConfig, *rabbitmq.RabbitMQConfig, error)
Click to show internal directories.
Click to hide internal directories.