Documentation
¶
Index ¶
- Variables
- func DisposableGetCacheAll(app *app.App) (*[]string, error)
- func DisposableGetDBAll(app *app.App) (*[]string, error)
- func FreeEmailGetDBAll(app *app.App) (*[]string, error)
- func GenericGetAll(app *app.App) (*[]string, error)
- func GenericGetEmail(app *app.App, emailAddress string) (*bool, error)
- func ProxyGetCacheAll(app *app.App) []string
- func ProxyGetDBAll(app *app.App) (*[]models.Proxy, error)
- func SpamEmailGetCacheAll(app *app.App) (*[]string, error)
- func SpamEmailGetDBAll(app *app.App) (*[]string, error)
- func SpamGetCacheAll(app *app.App) []string
- func SpamGetDBAll(app *app.App) (*[]string, error)
- func TorGetCacheAll(app *app.App) (*[]string, error)
- func TorGetDBAll(app *app.App) (*[]string, error)
- func ValidateAddress(addy *entity.Address) (bool, error)
- func VpnGetCacheAll(app *app.App) (*[]string, error)
- func VpnGetDBAll(app *app.App) (*[]string, error)
- type Email
- type FieldError
- type FieldErrors
- type IP
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrExpired = "EXPIRED"
View Source
var ErrFormatInvalid = "FORMAT_INVALID"
View Source
var ErrLocked = "LOCKED"
View Source
var ErrMissing = "MISSING"
View Source
var ErrNotFound = "NOT_FOUND"
View Source
var ErrTaken = "TAKEN"
Functions ¶
func ProxyGetCacheAll ¶
func SpamGetCacheAll ¶
Types ¶
type Email ¶
type Email struct {
Disposable bool `json:"disposable"`
Free bool `json:"free"`
Spam bool `json:"spam"`
Generic bool `json:"generic"`
CatchAll bool `json:"catchall"`
Leaked bool `json:"leaked"`
Valid bool `json:"valid"`
Domain *entity.Domain `json:"domain"`
// contains filtered or unexported fields
}
func (*Email) EmailService ¶
func (e *Email) EmailService() (*entity.EmailResponse, error)
func (*Email) ScoreEmail ¶
type FieldError ¶
func (FieldError) Error ¶
func (e FieldError) Error() string
func (FieldError) String ¶
func (e FieldError) String() string
type FieldErrors ¶
type FieldErrors []FieldError
func (FieldErrors) Error ¶
func (es FieldErrors) Error() string
Click to show internal directories.
Click to hide internal directories.