whois

package
v0.0.0-...-2ed781b Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2014 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsyncRetrieve

func AsyncRetrieve(domain string, db *gorp.DbMap, messages chan<- string, wg *sync.WaitGroup)

func ParseCSV

func ParseCSV(f io.Reader) [][]string

func RetrieveJSON

func RetrieveJSON(query string, db *gorp.DbMap) string

Types

type Result

type Result struct {
	Emails []string          `json:"emails"`
	Data   map[string]string `json:"data"`
	Raw    string            `json:"raw"`
	Domain string
}

func Retrieve

func Retrieve(query string, db *gorp.DbMap) (*Result, error)

type SqlResult

type SqlResult struct {
	Domain string
	Raw    string
	Emails string
}

Jump to

Keyboard shortcuts

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