Documentation ¶
Index ¶
- type Config
- type Database
- func (database *Database) GetNotification(user interface{}, notificationID string, _ *notification.Notification, ...) (*notification.QorNotification, error)
- func (database *Database) GetNotifications(user interface{}, results *notification.NotificationsResult, ...) error
- func (database *Database) GetUnresolvedNotificationsCount(user interface{}, _ *notification.Notification, context *qor.Context) uint
- func (database *Database) Send(message *notification.Message, context *qor.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
Config *Config
}
func (*Database) GetNotification ¶
func (database *Database) GetNotification(user interface{}, notificationID string, _ *notification.Notification, context *qor.Context) (*notification.QorNotification, error)
func (*Database) GetNotifications ¶
func (database *Database) GetNotifications(user interface{}, results *notification.NotificationsResult, _ *notification.Notification, context *qor.Context) error
func (*Database) GetUnresolvedNotificationsCount ¶
func (database *Database) GetUnresolvedNotificationsCount(user interface{}, _ *notification.Notification, context *qor.Context) uint
Click to show internal directories.
Click to hide internal directories.