Documentation ¶
Index ¶
- func HandleAdd(ctx *fiber.Ctx) *model.Response
- func HandleAddMytoken(ctx *fiber.Ctx) *model.Response
- func HandleCalendarEntryViaMail(ctx *fiber.Ctx, rlog logrus.Ext1FieldLogger, mt *mytoken.Mytoken, ...) *model.Response
- func HandleDelete(ctx *fiber.Ctx) *model.Response
- func HandleGet(ctx *fiber.Ctx) error
- func HandleGetICS(ctx *fiber.Ctx) error
- func HandleList(ctx *fiber.Ctx) *model.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAddMytoken ¶
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 ¶
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 ¶
HandleList lists all calendars for a user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.