config

package
v0.0.0-...-aca1c39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMicroserviceName

func GetMicroserviceName(serviceName string) string

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL