Documentation ¶
Index ¶
- Constants
- func Query(ipaddr string) (result string, err error)
- func Server(whois string) (whoisserver string, whoisorg string, err error)
- type Net
- type Org
- type Whois
- type WhoisData
- type WhoisInfo
- func AfrinicCheck(search string) (w WhoisInfo, err error)
- func ApnicCheck(search string) (w WhoisInfo, err error)
- func ApnicCheck6(search string) (w WhoisInfo, err error)
- func ArinCheck(search string) (w WhoisInfo, err error)
- func IPLookup(ipaddr string) (w WhoisInfo, err error)
- func IPv4Lookup(ipaddr string) (w WhoisInfo, err error)
- func IPv6Lookup(ipaddr string) (w WhoisInfo, err error)
- func LacnicCheck(search string) (w WhoisInfo, err error)
- func RipeCheck(search string) (w WhoisInfo, err error)
- func RipeCheck6(search string) (w WhoisInfo, err error)
- type WhoisPerson
- type WhoisRoute
Constants ¶
View Source
const (
// IANAWhois server
IANAWhois = "whois.iana.org:43"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Whois ¶
type Whois interface { Check(search string) (WhoisInfo, error) // contains filtered or unexported methods }
Whois intercate containing the resulting infomration.
type WhoisData ¶
type WhoisData struct {
// contains filtered or unexported fields
}
WhoisData struct
type WhoisInfo ¶
type WhoisInfo struct { Noc string Inetnum string Netname string Descr string Country string Organization string AdminC string TechC string MntLower string Status string MntBy string Created string LastModified string Source string MntRoutes string Person WhoisPerson Route WhoisRoute }
WhoisInfo struct with information on IP address range.
func ApnicCheck ¶
func ApnicCheck6 ¶
func IPv4Lookup ¶
IPv4Lookup function that returns IP information at provider and returns information.
func IPv6Lookup ¶
Search information about IPv6 IP address
func LacnicCheck ¶
func RipeCheck6 ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.