Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) SetTimeout ¶
Configure the request timeout value (includes connecting, waiting for a response, and reading the response)
type KickboxResultBuilder ¶
type KickboxResultBuilder struct{}
Define our builder type that implements the ResultBuilder interface
type Result ¶
type Result struct { Success bool `json::"success"` Result string `json::"result"` Reason string `json::"reason"` Role bool `json::"role"` Free bool `json::"free"` AcceptAll bool `json::"accept_all"` Suggested string `json::"did_you_mean"` Sendex float32 `json::"sendex"` Email string `json::"email"` User string `json::"user"` Domain string `json::"domain"` Message string `json::"message"` }
This is our actual Result struct we store the API response in
func (Result) IsDeliverable ¶
func (Result) IsUndeliverable ¶
type ResultBuilder ¶
Define our interface
Click to show internal directories.
Click to hide internal directories.