handler

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 18 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(data models.NotificationData, dataJson map[string]interface{}) int64

func Execute

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

func Fcm

func Fcm(c *fiber.Ctx) error

func GetAllNotifications

func GetAllNotifications(c *fiber.Ctx) error

func GetNewNotifications

func GetNewNotifications(c *fiber.Ctx) error

func SendNotification

func SendNotification(receivers []string, msg interface{}, notification models.FCMNotification)

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