Skip to content

davidsouza/whois-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whois.go

whois-go is a simple Go module for domain whois.

Build Status

Overview

whois.go: A golang module for domain whois query.

whois: A golang cli command for domain whois query.

Work for most domain extensions and most of the time.

Installation

go get github.com/likexian/whois-go

Importing

import (
    "github.com/likexian/whois-go"
)

Documentation

func Whois(domain string, servers ...string) (result string, err error)

Example

result, err := whois.Whois("example.com")
if err == nil {
    fmt.Println(result)
}

Whois info parser in Go

Please refer to whois-parser-go

LICENSE

Copyright 2014-2017, Li Kexian

Apache License, Version 2.0

DONATE

About

About

Go module for domain whois

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%