Documentation ¶
Index ¶
Constants ¶
View Source
const ( TokenKey = "token" UserKey = "user" )
Variables ¶
View Source
var ( ErrMissing = &fiber.Error{ Code: 401000, Message: "Missing token", } ErrInvalid = &fiber.Error{ Code: 401001, Message: "Invalid token", } )
Functions ¶
func GetTokenFromCtx ¶
func GetTokenFromCtx(ctx *fiber.Ctx) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.