commento/api/email.go

15 lines
421 B
Go
Raw Normal View History

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