whois v0.0.1 Whois

Summary

Functions

Queries the appropriate WHOIS server for the domain name domain and returns a {:ok, %Whois.Record{}} tuple on success, and {:error, reason} on failure

Functions

lookup(domain)

Specs

lookup(String.t) ::
  {:ok, Whois.Record.t} |
  {:error, atom}

Queries the appropriate WHOIS server for the domain name domain and returns a {:ok, %Whois.Record{}} tuple on success, and {:error, reason} on failure.