Documentation ¶
Overview ¶
domainr is a wrapper for the domai.nr API written in Go.
// Get the url to register a domain domainr.Register("myfancydomain.com", "") // Get the url of a specific registrar to register a domain domainr.Register("myfancydomain.com", "gandi.net") // Get information about a domain domainr.Json(domainr.METHOD_INFO, "github.io", "") // Get information about the domains matching your query domainr.Json(domainr.METHOD_SEARCH, "myfancydomain", "") // The optional third parameter at domainr.Json is a callback as defined in // the API documentation https://domai.nr/api/docs/json
Index ¶
Constants ¶
View Source
const ( BASE_URI = "https://domai.nr/api" METHOD_SEARCH = "search" METHOD_INFO = "info" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.