Documentation
¶
Index ¶
- func CreateRecreateToken(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID) (string, error)
- func CreateRemoveFromCalendar(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID, calendarName string) (string, error)
- func CreateVerifyEmail(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID) (string, error)
- func GetUnsubscribeScheduled(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID, nid uint64) (string, error)
- func HandleActions(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRecreateToken ¶
CreateRecreateToken creates an action url for recreating a mytoken
func CreateRemoveFromCalendar ¶
func CreateRemoveFromCalendar(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID, calendarName string) ( string, error, )
CreateRemoveFromCalendar creates an action url for removing a token from a calendar
func CreateVerifyEmail ¶
CreateVerifyEmail creates an action url for verifying a mail address
func GetUnsubscribeScheduled ¶
func GetUnsubscribeScheduled(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID, nid uint64) ( string, error, )
GetUnsubscribeScheduled obtains the action code stored in the database for a scheduled notification and returns the action url
func HandleActions ¶
HandleActions is the main entry function to handle the different actions of the action endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.