config

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package config defines the application configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustViperFlags added in v0.2.0

func MustViperFlags(v *viper.Viper, flags *pflag.FlagSet)

MustViperFlags sets the cobra flags and viper config for events.

Types

type AppConfig

type AppConfig struct {
	OIDC    echojwtx.AuthConfig
	Logging loggingx.Config
	Server  echox.Config
	SpiceDB spicedbx.Config
	Tracing otelx.Config
	Events  EventsConfig
}

AppConfig is the struct used for configuring the app

type EventsConfig added in v0.1.4

type EventsConfig struct {
	events.Config `mapstructure:",squash"`
	Topics        []string
}

EventsConfig stores the configuration for a load-balancer-api events config

Jump to

Keyboard shortcuts

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