globals

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HOST = os.Getenv("HOST")
	PORT = os.Getenv("PORT")

	REDIS_URI = os.Getenv("REDIS_URI")

	ROOT_REDIRECT = os.Getenv("ROOT_REDIRECT")

	DISCORD_CLIENT_ID     = os.Getenv("DISCORD_CLIENT_ID")
	DISCORD_CLIENT_SECRET = os.Getenv("DISCORD_CLIENT_SECRET")
	DISCORD_REDIRECT_URI  = os.Getenv("DISCORD_REDIRECT_URI")

	PEPPER_SETTINGS = os.Getenv("PEPPER_SETTINGS")
	PEPPER_SECRETS  = os.Getenv("PEPPER_SECRETS")

	SIZE_LIMIT int // initialised in main

	ALLOWED_USERS map[string]bool // initialised in main
)

environment variables

View Source
var (
	// redis client
	RDB *redis.Client
)

other app globals, initialised in main

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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