calendar

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: 30 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 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

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