config

package
v0.0.0-...-4f6929d Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessTokenExpiredInMinutes = os.Getenv("ACCESS_TOKEN_EXPIRED_IN")
View Source
var AccessTokenMaxAge, _ = strconv.ParseInt(os.Getenv("ACCESS_TOKEN_MAX_AGE"), 10, 0)
View Source
var AccessTokenPrivateKey string = os.Getenv("ACCESS_TOKEN_PRIVATE_KEY")
View Source
var AccessTokenPublicKey string = os.Getenv("ACCESS_TOKEN_PUBLIC_KEY")
View Source
var RedisPort = os.Getenv("REDIS_URL")
View Source
var RefreshTokenExpiredInMinutes = os.Getenv("REFRESH_TOKEN_EXPIRED_IN")
View Source
var RefreshTokenMaxAge, _ = strconv.ParseInt(os.Getenv("REFRESH_TOKEN_MAX_AGE"), 10, 0)
View Source
var RefreshTokenPrivateKey string = os.Getenv("REFRESH_TOKEN_PRIVATE_KEY")
View Source
var RefreshTokenPublicKey string = os.Getenv("REFRESH_TOKEN_PUBLIC_KEY")
View Source
var Secret = os.Getenv("JWT_SECRET")

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