Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_AUTH_PORT = 6709
View Source
const DEFAULT_JWT_PRIVATE_KEY_FILE = "keys/id_ecdsa"
View Source
const DEFAULT_REDIS_HOSTNAME = "redis"
View Source
const DEFAULT_REDIS_PORT = 6379
View Source
const JWT_PRIVATE_KEY_FILE_ENV_VAR = "JWT_PRIVATE_KEY_FILE"
View Source
const PORT_ENV_VAR = "PORT"
View Source
const REDIS_HOSTNAME_ENV_VAR = "REDIS_HOSTNAME"
View Source
const REDIS_PASSWORD_ENV_VAR = "REDIS_PASSWORD"
View Source
const REDIS_PORT_ENV_VAR = "REDIS_PORT"
Variables ¶
This section is empty.
Functions ¶
func GetJwtPrivateKey ¶
func GetJwtPrivateKey() (crypto.PrivateKey, error)
func GetRedisAddress ¶
func GetRedisAddress() string
func GetRedisPassword ¶
func GetRedisPassword() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.