whogo

package module
v0.0.0-...-72e1a1d Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2014 License: MIT Imports: 7 Imported by: 0

README

whogo GoDoc

Tools for interacting with WHOIS servers and the returned queries.

Can also be used to return WHOIS queries in JSON format. See /examples/availability.go for more.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available

func Available(data []byte) bool

Available tells whether a domain is available according to it's WHOIS query. The parameter should be the result from Whois function.

func Records

func Records(data []byte) record

Records uses Jaro-Winkler distance to parse WHOIS queries. Other than .com domains may not be supported.

func Whois

func Whois(domain string, timeout time.Duration) ([]byte, error)

Whois returns WHOIS query of a domain in format such as google.com Timeout defines timeout which is set at every write and read request.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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