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