2018-05-27 22:40:42 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
type domain struct {
|
|
|
|
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"`
|
2019-01-23 13:26:22 +08:00
|
|
|
ModerateAllAnonymous bool `json:"moderateAllAnonymous"`
|
2018-05-27 22:40:42 +08:00
|
|
|
Moderators []moderator `json:"moderators"`
|
|
|
|
}
|