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