config

package
v0.0.0-...-75f25d5 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Server   *srvconfig.Config        `yaml:"server"`
	Postgres *postgres.Config         `yaml:"postgres"`
	Jaeger   *tracing.Config          `yaml:"jaeger"`
	Prom     *prom.Config             `yaml:"prom"`
	API      *client.GrpcClientConfig `yaml:"api"`
	KeyCloak *KeyCloakConfig          `yaml:"keycloak"`
}

Config конфигурация сервиса.

func MustNew

func MustNew(path string) *Config

MustNew создает новую конфигурацию или вызывает панику.

type KeyCloakConfig

type KeyCloakConfig struct {
	URL   string `yaml:"url"`
	Realm string `yaml:"realm"`
}

KeyCloakConfig конфигурация KeyCloak.

Jump to

Keyboard shortcuts

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