notifications

package
v0.0.0-...-e7e2df9 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

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