config

package
v0.0.0-...-e708a3c Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 14 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"`
	Grpc         *grpc.GrpcConfig              `mapstructure:"grpc"`
	GormPostgres *gormpgsql.GormPostgresConfig `mapstructure:"gormPostgres"`
	Jaeger       *otel.JaegerConfig            `mapstructure:"jaeger"`
}

Jump to

Keyboard shortcuts

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