config

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

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

Go to latest
Published: Feb 18, 2021 License: GPL-3.0 Imports: 3 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 {
	DatabaseDSN         string
	APIAddress          string
	GatewayAddress      string
	GatewayRootRedirect string
	Invites             bool
	AdminTokens         []string
}

Config represents the application configuration

func Load

func Load() (*Config, bool)

Load loads and creates a new application configuration

Jump to

Keyboard shortcuts

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