Documentation ¶
Index ¶
Constants ¶
View Source
const NewTokenString = "new_token"
NewTokenString stands for "new_token"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthPayload ¶
type AuthPayload struct { jwt.StandardClaims Typ string `json:"omitempty,typ"` }
AuthPayload jwt payload
type Config ¶
type Config struct { MaxConnection int32 Port int EnablePprof bool EnablePrometheus bool JwtSecret string HookFunction HookFunction }
Config config
Click to show internal directories.
Click to hide internal directories.