config

package
v0.0.0-...-806cc7c Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 9 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"`
	ClusterConfig    cluster.Config   `yaml:"cluster"`
	DatabaseConfig   []dbv1.Config    `yaml:"database"`
	HttpClientConfig http.Config      `yaml:"http_client"`
	WebConfig        []webv1.Config   `yaml:"web"`
	RedisConfig      []redisv1.Config `yaml:"redis"`
	KafkaConfig      []kafkav1.Config `yaml:"kafka"`
}

Jump to

Keyboard shortcuts

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