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: about 2 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 (4 months ago)
- Last Synced: 2024-06-18T17:15:14.483Z (3 months ago)
- Topics: availability, domain, go, golang, whois
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 40
- Watchers: 2
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Is 'domain.x' Available?
[![Build Status](https://api.travis-ci.org/haccer/available.svg?branch=master)](https://travis-ci.org/haccer/available)
[![Go Report Card](https://goreportcard.com/badge/github.com/haccer/available)](https://goreportcard.com/report/github.com/haccer/available)
[![GoDoc](https://godoc.org/github.com/haccer/available?status.svg)](http://godoc.org/github.com/haccer/available)
[![GitHub license](https://img.shields.io/github/license/haccer/available.svg)](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!")
}
}
```