actions

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRecreateToken

func CreateRecreateToken(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID) (string, error)

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

func CreateVerifyEmail(rlog log.Ext1FieldLogger, tx *sqlx.Tx, mtID mtid.MTID) (string, error)

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

func HandleActions(ctx *fiber.Ctx) error

HandleActions is the main entry function to handle the different actions of the action endpoint

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL