settings

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: GPL-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Database          databaseConfig
	Https             httpsConfig
	Mailer            mailerConfig
	SuperUser         superuserConfig
	RouteBase         string
	Port              string
	SslPort           string
	Host              string
	Protocol          string
	JwtSecret         string
	DiscordWebhookURL string
	Major             int
	Patch             int
	Minor             int
)

Configuration and Settings

Functions

func FromFile

func FromFile(filename string) error

FromFile loads the config.json file into Settings variables

Types

This section is empty.

Jump to

Keyboard shortcuts

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