config

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Types

type ConfigType

type ConfigType struct {
	Host         string `yaml:"host"`
	Port         int    `yaml:"port"`
	DataLocation string `yaml:"data_location"`
	UrlBase      string `yaml:"url_base"`
	JsonLogging  bool   `yaml:"log_json"`
	DB           string `yaml:"database"`
	Oidc         `yaml:"oidc"`
}
var Config *ConfigType

type Oidc

type Oidc struct {
	ClientID     string `yaml:"client_id"`
	ClientSecret string `yaml:"client_secret"`
	Provider     string `yaml:"issuer"`
	CallbackUrl  string `yaml:"callback_url"`
}

Jump to

Keyboard shortcuts

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