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"` GormPostgres *gormpgsql.GormPostgresConfig `mapstructure:"gormPostgres"` Echo *echoserver.EchoConfig `mapstructure:"echo"` Grpc *grpcserver.GrpcConfig `mapstructure:"grpc"` Logger *logger.LoggerConfig `mapstructure:"logger"` RabbitMq *rabbitmq.RabbitMQConfig `mapstructure:"rabbitMq"` Jaeger *otel.JaegerConfig `mapstructure:"jaeger"` }
func InitConfig ¶
func InitConfig() (*Config, *gormpgsql.GormPostgresConfig, *echoserver.EchoConfig, *grpcserver.GrpcConfig, *logger.LoggerConfig, *otel.JaegerConfig, *rabbitmq.RabbitMQConfig, error)
Click to show internal directories.
Click to hide internal directories.