notification

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: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDeleteByManagementCode

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

HandleDeleteByManagementCode returns the api.NotificationInfo for the notification linked to a management code

func HandleGet

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

HandleGet handles get requests and returns a list of all notifications for a user

func HandleGetByManagementCode

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

HandleGetByManagementCode returns the api.NotificationInfo for the notification linked to a management code

func HandleNotificationAddToken

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

HandleNotificationAddToken handles requests to add a mytoken to a notification

func HandleNotificationRemoveToken

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

HandleNotificationRemoveToken handles requests to remove a mytoken from a notification

func HandleNotificationUpdateClasses

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

HandleNotificationUpdateClasses handles requests to update the NotificationClasses for a notification

func HandlePost

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

HandlePost is the main entry function for handling notification creation requests

Types

This section is empty.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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