configuration

package
v0.0.0-...-8157091 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: GPL-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = Configuration{}

Functions

func Init

func Init()

Types

type Configuration

type Configuration struct {
	ListenAddress string `json:"listen_address"`

	SecretJWT  string `json:"secret_jwt"`
	Issuer2FA  string `json:"issuer_2fa"`
	SecretsDir string `json:"secrets_dir"`
	TokensDir  string `json:"tokens_dir"`

	SensitiveList []string `json:"sensitive_list"`

	UploadFileMaxSize int64  `json:"upload_file_max_size"`
	UploadFilePath    string `json:"upload_file_path"`
	DownloadFilePath  string `json:"download_file_path"`
}

Jump to

Keyboard shortcuts

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