Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
JWT JWTConfig
}
Auth is the auth settings
var Auth AuthConfig = AuthConfig{ JWT: JWTConfig{ Secret: os.Getenv("JWT_SECRET"), TTL: os.Getenv("JWT_TTL"), }, }
Click to show internal directories.
Click to hide internal directories.