models

package
v0.0.0-...-785855b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {
	EmailAddress   string    `json:"EmailAddress"`
	EmailUser      string    `json:"EmailUser"`
	EmailDomain    string    `json:"EmailDomain"`
	ValidationMAIL string    `json:"ValidationMAIL"`
	ValidationVRFY string    `json:"ValidationVRFY"`
	Postmaster     string    `json:"Postmaster"`
	MXRecords      []*net.MX `json:"MXRecords"`
	ExtraMessage   error     `json:"ExtraMessage"`
}

Answer struct

type Message

type Message struct {
	Question Question `json:"Question"`
	Answer   Answer   `json:"Answer"`
}

Message for retunring

type Question

type Question struct {
	JobEmailAddress string    `json:"JobEmailAddress"`
	JobStatus       string    `json:"JobStatus"`
	JobMessage      string    `json:"JobMessage"`
	JobTime         time.Time `json:"JobTime"`
}

Question struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL