commento/api/domain.go

21 lines
777 B
Go
Raw Normal View History

package main
import (
"time"
)
type domain struct {
2019-02-19 00:23:44 +08:00
Domain string `json:"domain"`
OwnerHex string `json:"ownerHex"`
Name string `json:"name"`
CreationDate time.Time `json:"creationDate"`
State string `json:"state"`
ImportedComments bool `json:"importedComments"`
AutoSpamFilter bool `json:"autoSpamFilter"`
RequireModeration bool `json:"requireModeration"`
RequireIdentification bool `json:"requireIdentification"`
ModerateAllAnonymous bool `json:"moderateAllAnonymous"`
Moderators []moderator `json:"moderators"`
EmailNotificationPolicy string `json:"emailNotificationPolicy"`
}