assets

package
v0.0.0-...-5baf481 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BoxSetPrice float32 = 35.0
View Source
const DBKEY_BOX_PRICE string = "BoxSetPrice"
View Source
const DBKEY_PUBLIC_KEY string = "PublicKey"
View Source
const DBKEY_STICKER_PRICE string = "StickerPrice"
View Source
const ENV_ADMIN_PASSWORD_KEY string = "ADMIN_PASSWORD"
View Source
const ENV_ADMIN_USERNAME_KEY string = "ADMIN_USERNAME"
View Source
const ENV_DEBUG_KEY string = "DEBUG"
View Source
const ENV_FORCE_HTTPS_KEY string = "FORCE_HTTPS"
View Source
const ENV_LOGLEVEL_KEY string = "LOG_LEVEL"
View Source
const PGPOutputDir string = "./enc/pgp_out"
View Source
const SQLitePath string = "./conf/main.sqlite"
View Source
const StickerCost float32 = 2.0
View Source
const UsesOutputDir string = "./enc/uses"

Variables

View Source
var AllowOriginDomains []string = []string{
	"https://astoryofand.com",
	"https://*.astoryofand.com",
}
View Source
var Assets embed.FS
View Source
var DiscordWebhookName string = "A Story Of And"
View Source
var DiscordWebhookURL string = os.Getenv("DISCORD_WEBHOOK")
View Source
var PrivateKeyBytes string = ""

we never want to include the private key unless we are building the program meant to contain it

View Source
var PrivateKeyPassword string = ""
View Source
var PublicKeyBytes string

Functions

func GetFileSystem

func GetFileSystem(useOS bool) http.FileSystem

Types

This section is empty.

Jump to

Keyboard shortcuts

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