config

package
v0.0.0-...-9fdc65e Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OnChange func()

OnChange is called when a config change is detected, can be set during runtime

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel    string
	Environment string
	Twitch      struct {
		Clientid     string
		Clientsecret string
		Redirecturi  string
		State        string
	}
	Kube struct {
		Namespace   string
		Oauthsecret string
	}
	Http struct {
		Port string
	}
	Health struct {
		Enabled bool
		Port    string
	}
	Prometheus struct {
		Enabled bool
		Port    string
	}
}

func New

func New() *Config

Jump to

Keyboard shortcuts

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