config

package
v0.0.0-...-097c4a8 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDefaultConfig

func LoadDefaultConfig(v *DefaultConfig) (err error)

func LoadYamlFile

func LoadYamlFile(fileName string, v interface{}) error

Types

type DefaultConfig

type DefaultConfig struct {
	LoggerConfig     logger.Config    `yaml:"logger" json:"logger"`
	ClusterConfig    cluster.Config   `yaml:"cluster" json:"cluster"`
	DatabaseConfig   []dbv1.Config    `yaml:"database" json:"database"`
	HttpClientConfig http.Config      `yaml:"http_client" json:"http_client"`
	RedisConfig      []redisv1.Config `yaml:"redis" json:"redis"`
	TelemetryConfig  telemetry.Config `yaml:"telemetry" json:"telemetry"`
	KafkaConfig      []xkafka.Config  `yaml:"kafka" json:"kafka"`
}

Jump to

Keyboard shortcuts

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