Documentation
¶
Overview ¶
Copyright (c) 2021 Amirhossein Movahedi (@qolzam)
This software is released under the MIT License. https://opensource.org/licenses/MIT
Index ¶
- func CheckNotifyEmailHandle(c *fiber.Ctx) error
- func CreateNotificationHandle(c *fiber.Ctx) error
- func DeleteNotificationByUserIdHandle(c *fiber.Ctx) error
- func DeleteNotificationHandle(c *fiber.Ctx) error
- func GetNotificationHandle(c *fiber.Ctx) error
- func GetNotificationsByUserIdHandle(c *fiber.Ctx) error
- func SeenAllNotificationsHandle(c *fiber.Ctx) error
- func SeenNotificationHandle(c *fiber.Ctx) error
- func UpdateNotificationHandle(c *fiber.Ctx) error
- type NotificationAction
- type UserInfoInReq
- type UserProfileQueryModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNotifyEmailHandle ¶
func CheckNotifyEmailHandle(c *fiber.Ctx) error
CheckNotifyEmailHandle handle query on notification
func CreateNotificationHandle ¶
func CreateNotificationHandle(c *fiber.Ctx) error
CreateNotificationHandle handle create a new notification
func DeleteNotificationByUserIdHandle ¶
func DeleteNotificationByUserIdHandle(c *fiber.Ctx) error
DeleteNotificationByUserIdHandle handle delete a Notification but userId
func DeleteNotificationHandle ¶
func DeleteNotificationHandle(c *fiber.Ctx) error
DeleteNotificationHandle handle delete a Notification
func GetNotificationHandle ¶
func GetNotificationHandle(c *fiber.Ctx) error
GetNotificationHandle handle get a notification
func GetNotificationsByUserIdHandle ¶
func GetNotificationsByUserIdHandle(c *fiber.Ctx) error
GetNotificationsByUserIdHandle handle query on notification
func SeenAllNotificationsHandle ¶
func SeenAllNotificationsHandle(c *fiber.Ctx) error
SeenAllNotificationsHandle handle set all notifications seen
func SeenNotificationHandle ¶
func SeenNotificationHandle(c *fiber.Ctx) error
SeenNotificationHandle handle set notification seen
func UpdateNotificationHandle ¶
func UpdateNotificationHandle(c *fiber.Ctx) error
UpdateNotificationHandle handle update a notification
Types ¶
type NotificationAction ¶
type NotificationAction struct { Type string `json:"type"` Payload interface{} `json:"payload"` }
type UserInfoInReq ¶
type UserProfileQueryModel ¶
Click to show internal directories.
Click to hide internal directories.