config

package
v0.0.0-...-dead0e8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Unlicense Imports: 12 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 {
	Port         int                    `koanf:"port"`
	BaseURL      string                 `koanf:"base_url" validate:"required"`
	EnableK8S    bool                   `koanf:"enable_k8s"`
	GlobalSecret string                 `koanf:"global_secret" validate:"required"`
	OAuthClients map[string]OAuthClient `koanf:"clients"`
}

func Get

func Get() *Config

type OAuthClient

type OAuthClient map[string]any

Jump to

Keyboard shortcuts

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