config

package
v0.0.0-...-700b64f Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 8 Imported by: 0

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 GetPort

func GetPort() int

func GetRedisAddress

func GetRedisAddress() string

func GetRedisPassword

func GetRedisPassword() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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