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