handler

package
v0.8.31 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BodyDump

func BodyDump(c *fiber.Ctx, GetGridMODEL func(schema_id string) datagrid.Datagrid, GetMODEL func(schema_id string) dataform.Dataform) error

func BuildNotification

func BuildNotification(dataJson map[string]interface{}, schemaId int64, action string, userPre map[string]interface{})

func CreateNotification

func CreateNotification(notification models.NotificationData, options models.FCMOptions, data map[string]interface{})

func Execute

func Execute(data interface{}, TBody string) string

func GetAllNotifications

func GetAllNotifications(c *fiber.Ctx) error

func GetNewNotifications

func GetNewNotifications(c *fiber.Ctx) error

func SendNotification

func SendNotification(accessToken string, receiver string, notification models.FCMNotification, options models.FCMOptions, data map[string]interface{})

func SetSeen

func SetSeen(c *fiber.Ctx) error

func SetToken

func SetToken(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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