Documentation
¶
Index ¶
Constants ¶
View Source
const ( AlertStatusPending = iota AlertStatusSent AlertStatusFailed )
View Source
const UserTokenLength = 32
Variables ¶
View Source
var ErrRecordDoesNotExist = errors.New("record does not exist")
ErrRecordDoesNotExist is a generic error in case a record which is searched does not exist
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct {
ID uint
Subject string
Status uint
SentAt *time.Time
UserID uint
CreatedAt time.Time
UpdatedAt time.Time
}
func (*Alert) HumanStatus ¶
type AlertRepository ¶
Click to show internal directories.
Click to hide internal directories.