Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GroupNotificationsByDay ¶
func GroupNotificationsByDay(notifications []notiftypes.Notification) []notiftypes.NotificationGroup
GroupNotificationsByDay sorts notifications into groups by day.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetAll ¶
func (svc *Service) GetAll() ([]notiftypes.NotificationGroup, error)
func (*Service) InvalidateCache ¶
func (svc *Service) InvalidateCache()
func (*Service) MarkAllAsRead ¶
Click to show internal directories.
Click to hide internal directories.