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.
Click to show internal directories.
Click to hide internal directories.