package
0.0.0-20240826165400-c59a99f232a0
Repository: https://github.com/pruh/api.git
Documentation: pkg.go.dev
# Functions
CurrentFilter returns true if notification is current.
ExpiredFilter returns true if notification is expired.
FilterNotificatons filters notification using provided filter func.
# Constants
CreatePath path for HTTP POST Method which creates new notification.
DeletePath path for HTTP DELETE Method which deletes notification.
GetPath path for HTTP GET Method which to query for array of notifications.
SingleGetPath path for HTTP GET Method to query for single notification.
# Structs
Cleaner handles all work related to cleaning repository.
Controller handles all notification related requests.
Notification model for storing notifications.
Repository accesses notifications store.