Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationController ¶
type NotificationController struct { }
func (*NotificationController) CreateNotification ¶
func (n *NotificationController) CreateNotification(ctx *gin.Context)
func (*NotificationController) GetNotificationsbyUser ¶
func (n *NotificationController) GetNotificationsbyUser(ctx *gin.Context)
GetNotificationsbyUser retrieves the notifications for a specific user. It takes a gin.Context as input and returns the notifications as JSON data. The function logs performance metrics and any errors encountered during execution.
func (*NotificationController) ResponseNotification ¶
func (n *NotificationController) ResponseNotification(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.