config

package
v0.0.0-...-f0901d5 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VerboseEnvVar = "API_VERBOSE" // set to "true" if verbose errors should be returned

	LogPoolSize = 10  // used to make a pool of items to send to dynamo
	LogChanSize = 100 // used to buffer the log chan size

	WorkerPoolSize = 3

	APPLICATION_PORT = "8080"

	JWT_EXPIRATION_HOURS = 13
)

Variables

This section is empty.

Functions

func GetSecretKey

func GetSecretKey() (key []byte, err error)

func IsVerbose

func IsVerbose() bool

func JWTLifeTime

func JWTLifeTime() time.Duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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