commento/api/email.go

15 lines
443 B
Go
Raw Normal View History

2019-02-19 00:23:44 +08:00
package main
import (
"time"
)
type email struct {
2019-02-19 06:38:54 +08:00
Email string `json:"email"`
UnsubscribeSecretHex string `json:"unsubscribeSecretHex"`
2019-02-19 05:30:54 +08:00
LastEmailNotificationDate time.Time `json:"lastEmailNotificationDate"`
2019-02-19 06:38:54 +08:00
PendingEmails int `json:"-"`
SendReplyNotifications bool `json:"sendReplyNotifications"`
SendModeratorNotifications bool `json:"sendModeratorNotifications"`
2019-02-19 00:23:44 +08:00
}