Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderContentType = "Content-Type" MimeApplicationJson = "application/json" SendNotificationEndpoint = "/notifications" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { Create(notification domain.Notification) (string, error) UpdateStatus(id string, status domain.Status) error }
func New ¶
func New(db *storage.Database) Repository
Click to show internal directories.
Click to hide internal directories.