Module notification

Source
Expand description

This module defines the HTTP routes for notification operations. It includes handlers for listing, retrieving, creating, updating, and deleting notifications. The routes are integrated with the Actix-web framework and interact with the notification controller.

Structs§

create_notification
Creates a new notification.
delete_notification
Deletes a notification by ID.
get_notification
Retrieves details of a specific notification by ID.
list_notifications
Lists all notifications with pagination support.
update_notification
Updates an existing notification.

Functions§

init
Configures the notification routes.