internal

package
v0.0.0-...-c753372 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DBHost = os.Getenv("DB_HOST")
	DBPort = os.Getenv("DB_PORT")
	DBName = os.Getenv("DB_NAME")

	DBUser     = os.Getenv("DB_USER")
	DBPassword = getSecret("DB_PASSWORD")

	Debug = os.Getenv("DEBUG") == "true"

	JWTSecret   = getSecret("JWT_SECRET")
	JWTLifetime = time.Hour * time.Duration(parseIntEnv("JWT_LIFETIME_HOURS"))

	RateLimit = parseIntEnv("RATE_LIMIT")
)
View Source
var (
	RootPath = filepath.Join(filepath.Dir(b), "../")
)

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