constants

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HEALTH_TOKEN             = "HEALTH_TOKEN"
	ALLOWED_ORIGINS          = "ALLOWED_ORIGINS"
	PYROSCOPE_SERVER_ADDRESS = "PYROSCOPE_SERVER_ADDRESS"
	PYROSCOPE_TENANT_ID      = "PYROSCOPE_TENANT_ID"

	// CACHE_TTLS maps route group to TTL, e.g. "library=30m,wishlist=15m".
	// Route groups not listed fall back to CACHE_DEFAULT_TTL.
	CACHE_TTLS        = "CACHE_TTLS"
	CACHE_DEFAULT_TTL = "CACHE_DEFAULT_TTL"

	// AUTH_API_URL points at auth-api's base URL, used to verify bearer tokens and resolve
	// the caller's subject (user ID) via POST /authz/check.
	AUTH_API_URL = "AUTH_API_URL"

	// USERS_API_URL points at users-api's base URL, used to resolve a verified subject to its
	// canonical users._id user ID via GET /api/profile.
	USERS_API_URL = "USERS_API_URL"
)

Environment variable names

View Source
const (
	ServiceName = "game-room-api"

	// ProfilingEnabledFlag is the feature-flag key gating continuous profiling, evaluated via
	// api-core.go/featureflags.
	ProfilingEnabledFlag = "profiling-enabled"

	ErrorForbidden = "forbidden"
)

Value constants

Variables

This section is empty.

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