Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haccer/available
Domain availability checking for Golang
https://github.com/haccer/available
availability domain go golang whois
Last synced: 3 months ago
JSON representation
Domain availability checking for Golang
- Host: GitHub
- URL: https://github.com/haccer/available
- Owner: haccer
- License: gpl-3.0
- Created: 2018-06-05T05:05:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-15T18:06:50.000Z (9 months ago)
- Last Synced: 2024-11-05T09:44:05.173Z (4 months ago)
- Topics: availability, domain, go, golang, whois
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 45
- Watchers: 2
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Is 'domain.x' Available?
[](https://travis-ci.org/haccer/available)
[](https://goreportcard.com/report/github.com/haccer/available)
[](http://godoc.org/github.com/haccer/available)
[](https://github.com/haccer/available/blob/master/LICENSE)
> IN WHOIS WE TRUSTMy cheap way of checking whether a domain is available to be purchased or not (powered by [whois](https://github.com/domainr/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
```Go
package mainimport (
"fmt"
"github.com/haccer/available"
)func main() {
domain := "dreamdomain.io"available := available.Domain(domain)
if available {
fmt.Println("[+] Success!")
}
}
```