Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitSchedule ¶
func InitSchedule() error
func SendUrgencyNotifications ¶
Will be executed by a scheduler in order to send periodic notifications to the user
Types ¶
type Reminder ¶
type Reminder struct {
Id uint `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Priority database.NotificationPriority `json:"priority"`
CreatedDate int64 `json:"createdDate"` // Dates are represented as unix millis for making access in frontend easier
DueDate int64 `json:"dueDate"`
Owner string `json:"owner"`
UserWasNotified bool `json:"userWasNotified"`
UserWasNotifiedAt int64 `json:"userWasNotifiedAt"`
}
func GetUserReminders ¶
Returns a users reminders but transforms the underlying date to a unix timestamp
Click to show internal directories.
Click to hide internal directories.