Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type AutoCompleteRequest ¶
type AutoCompleteRequest struct {
Domain string `json:"domain"`
}
type AutoCompleteResponse ¶
type AutoCompleteResponse struct { Suggestions []string `json:"suggestions"` Error string `json:"error,omitempty"` }
func (*AutoCompleteResponse) PrepareResponse ¶
func (r *AutoCompleteResponse) PrepareResponse()
type ERIResponse ¶
type ERIResponse interface {
// Hacking around Generics, like it's 1999.
PrepareResponse()
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
type SuggestRequest ¶
type SuggestRequest struct {
Email string `json:"email"`
}
type SuggestResponse ¶
type SuggestResponse struct { Alternatives []string `json:"alternatives"` MalformedSyntax bool `json:"malformed_syntax"` MisconfiguredMX bool `json:"misconfigured_mx"` Error string `json:"error,omitempty"` }
func (*SuggestResponse) PrepareResponse ¶
func (r *SuggestResponse) PrepareResponse()
Click to show internal directories.
Click to hide internal directories.