Documentation ¶
Index ¶
- func BodyDump(c *fiber.Ctx, GetGridMODEL func(schema_id string) datagrid.Datagrid, ...) error
- func BuildNotification(dataJson map[string]interface{}, schemaId int64, action string, ...)
- func CreateNotification(data models.NotificationData, dataJson map[string]interface{}) int64
- func Execute(data interface{}, TBody string) string
- func Fcm(c *fiber.Ctx) error
- func GetAllNotifications(c *fiber.Ctx) error
- func GetNewNotifications(c *fiber.Ctx) error
- func SendNotification(receivers []string, msg interface{}, notification models.FCMNotification)
- func SetSeen(c *fiber.Ctx) error
- func SetToken(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildNotification ¶
func CreateNotification ¶
func CreateNotification(data models.NotificationData, dataJson map[string]interface{}) int64
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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.