calendar

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAdd

func HandleAdd(ctx *fiber.Ctx) *model.Response

HandleAdd handles a request to create a new calendar

func HandleAddMytoken

func HandleAddMytoken(ctx *fiber.Ctx) *model.Response

HandleAddMytoken handles a request to add a mytoken to a calendar

func HandleAddTag added in v0.11.0

func HandleAddTag(ctx *fiber.Ctx) *model.Response

HandleAddTag adds a tag to a calendar

func HandleCalendarEntryViaMail

func HandleCalendarEntryViaMail(
	ctx *fiber.Ctx, rlog logrus.Ext1FieldLogger, mt *mytoken.Mytoken,
	req pkg4.SubscribeNotificationRequest,
) *model.Response

HandleCalendarEntryViaMail creates a calendar entry for a mytoken and sends it via mail

func HandleDelete

func HandleDelete(ctx *fiber.Ctx) *model.Response

HandleDelete deletes a calendar

func HandleGet

func HandleGet(ctx *fiber.Ctx) error

HandleGet looks up the id for a calendar name for the given user (by mytoken) and redirects to the ics endpoint

func HandleGetICS

func HandleGetICS(ctx *fiber.Ctx) error

HandleGetICS returns a calendar ics by its id

func HandleList

func HandleList(ctx *fiber.Ctx) *model.Response

HandleList lists all calendars for a user

func HandleRemoveTag added in v0.11.0

func HandleRemoveTag(ctx *fiber.Ctx) *model.Response

HandleRemoveTag removes a tag from a calendar

func HandleUpdate added in v0.11.0

func HandleUpdate(ctx *fiber.Ctx) *model.Response

HandleUpdate updates a calendar's description and/or tags

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