Skip to content
forked from haccer/available

Domain availability checking for Golang

License

Notifications You must be signed in to change notification settings

nynhex/available

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Is 'domain.x' Available?

Build Status Go Report Card GoDoc GitHub license

IN WHOIS WE TRUST

My cheap way of checking whether a domain is available to be purchased or not (powered by whois).

Disclaimer

This package might not be able to check the available for every possible domain TLD, since whois does not work with some TLDs. In the future, I might include options to call different APIs (Gandi API, Domainr, etc.).

Example

package main

import (
        "fmt"
        "github.com/haccer/available"
)

func main() {
        domain := "dreamdomain.io"

        available := available.Domain(domain)

        if available {
                fmt.Println("[+] Success!")
        }
}

About

Domain availability checking for Golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%