config

package
v3.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// default port for the http server to run
	DefaultIssuerPort = "9998"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port        string
	RedirectURI []string
	UsersFile   string
}

func FromEnvVars

func FromEnvVars(defaults *Config) *Config

FromEnvVars loads configuration parameters from environment variables. If there is no such variable defined, then use default values.

Jump to

Keyboard shortcuts

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