config

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 1 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 {
	DatabaseUri   string `mapstructure:"database_uri"`
	JwtSecretKey  string `mapstructure:"jwt_secret_key"`
	SessionSecret string `mapstructure:"session_secret"`
	CookieSecret  string `mapstructure:"cookie_secret"`
	IssuerUrl     string `mapstructure:"issuer_url"`
}

func Load

func Load() (*Config, error)

Load will parse any environment variables in .env We may support additional configuration formats at some point in the future

Jump to

Keyboard shortcuts

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