Documentation
¶
Index ¶
Constants ¶
View Source
const ( ActionRecreate = "recreate_token" ActionVerifyEmail = "verify_email" ActionRemoveFromCalendar = "remove_from_calendar" ActionUnsubscribeScheduled = "unsubscribe_scheduled" )
Actions
Variables ¶
View Source
var CodeLifetimes = map[string]int{ ActionVerifyEmail: 3600, ActionRecreate: 0, ActionRemoveFromCalendar: 0, ActionUnsubscribeScheduled: 0, }
CodeLifetimes holds the default lifetime of the different action codes
Functions ¶
Types ¶
type ActionInfo ¶
ActionInfo is type for associating an Action with a Code
func CtxGetActionInfo ¶
func CtxGetActionInfo(ctx *fiber.Ctx) ActionInfo
CtxGetActionInfo obtains the ActionInfo from a fiber.Ctx
Click to show internal directories.
Click to hide internal directories.