26 lines
1.1 KiB
Go
26 lines
1.1 KiB
Go
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"`
|
|
ModerateAllAnonymous bool `json:"moderateAllAnonymous"`
|
|
Moderators []moderator `json:"moderators"`
|
|
EmailNotificationPolicy string `json:"emailNotificationPolicy"`
|
|
CommentoProvider bool `json:"commentoProvider"`
|
|
GoogleProvider bool `json:"googleProvider"`
|
|
TwitterProvider bool `json:"twitterProvider"`
|
|
GithubProvider bool `json:"githubProvider"`
|
|
GitlabProvider bool `json:"gitlabProvider"`
|
|
}
|