Documentation ¶
Index ¶
- type NotificationDeleter
- type NotificationLoader
- func (_m *NotificationLoader) GetNewNotifications(limit int) ([]models.Notification, error)
- func (_m *NotificationLoader) GetNotificationById(id string) (models.Notification, error)
- func (_m *NotificationLoader) GetNotificationBySender(sender string, limit int) ([]models.Notification, error)
- func (_m *NotificationLoader) GetNotificationBySlug(slug string) (models.Notification, error)
- func (_m *NotificationLoader) GetNotificationsByEnd(end int64, limit int) ([]models.Notification, error)
- func (_m *NotificationLoader) GetNotificationsByLabels(labels []string, limit int) ([]models.Notification, error)
- func (_m *NotificationLoader) GetNotificationsByStart(start int64, limit int) ([]models.Notification, error)
- func (_m *NotificationLoader) GetNotificationsByStartEnd(start int64, end int64, limit int) ([]models.Notification, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationDeleter ¶
NotificationDeleter is an autogenerated mock type for the NotificationDeleter type
func (*NotificationDeleter) DeleteNotificationById ¶
func (_m *NotificationDeleter) DeleteNotificationById(id string) error
DeleteNotificationById provides a mock function with given fields: id
func (*NotificationDeleter) DeleteNotificationBySlug ¶
func (_m *NotificationDeleter) DeleteNotificationBySlug(slug string) error
DeleteNotificationBySlug provides a mock function with given fields: slug
func (*NotificationDeleter) DeleteNotificationsOld ¶
func (_m *NotificationDeleter) DeleteNotificationsOld(age int) error
DeleteNotificationsOld provides a mock function with given fields: age
type NotificationLoader ¶
NotificationLoader is an autogenerated mock type for the NotificationLoader type
func (*NotificationLoader) GetNewNotifications ¶
func (_m *NotificationLoader) GetNewNotifications(limit int) ([]models.Notification, error)
GetNewNotifications provides a mock function with given fields: limit
func (*NotificationLoader) GetNotificationById ¶
func (_m *NotificationLoader) GetNotificationById(id string) (models.Notification, error)
GetNotificationById provides a mock function with given fields: id
func (*NotificationLoader) GetNotificationBySender ¶
func (_m *NotificationLoader) GetNotificationBySender(sender string, limit int) ([]models.Notification, error)
GetNotificationBySender provides a mock function with given fields: sender, limit
func (*NotificationLoader) GetNotificationBySlug ¶
func (_m *NotificationLoader) GetNotificationBySlug(slug string) (models.Notification, error)
GetNotificationBySlug provides a mock function with given fields: slug
func (*NotificationLoader) GetNotificationsByEnd ¶
func (_m *NotificationLoader) GetNotificationsByEnd(end int64, limit int) ([]models.Notification, error)
GetNotificationsByEnd provides a mock function with given fields: end, limit
func (*NotificationLoader) GetNotificationsByLabels ¶
func (_m *NotificationLoader) GetNotificationsByLabels(labels []string, limit int) ([]models.Notification, error)
GetNotificationsByLabels provides a mock function with given fields: labels, limit
func (*NotificationLoader) GetNotificationsByStart ¶
func (_m *NotificationLoader) GetNotificationsByStart(start int64, limit int) ([]models.Notification, error)
GetNotificationsByStart provides a mock function with given fields: start, limit
func (*NotificationLoader) GetNotificationsByStartEnd ¶
func (_m *NotificationLoader) GetNotificationsByStartEnd(start int64, end int64, limit int) ([]models.Notification, error)
GetNotificationsByStartEnd provides a mock function with given fields: start, end, limit