config

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Development = false
View Source
const FrontendOrigin = "https://next.bgm.tv"
View Source
const Version = "v0.19.2"

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Debug             map[string]bool
	RedisOptions      *redis.Options
	MySQLHost         string
	MySQLPort         string
	MySQLUserName     string
	MySQLPassword     string
	MySQLDatabase     string
	HCaptchaSecretKey string
	MySQLMaxConn      int
	HTTPPort          int
}

func NewAppConfig

func NewAppConfig() AppConfig

Jump to

Keyboard shortcuts

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