GSMLG.Whois.Record (GSMLG.Whois v0.1.0)

Link to this section Summary

Functions

Parses the raw WHOIS server response in raw into a %GSMLG.Whois.Record{}.

Link to this section Types

@type t() :: %GSMLG.Whois.Record{
  contacts: %{
    registrant: GSMLG.Whois.Contact.t(),
    administrator: GSMLG.Whois.Contact.t(),
    technical: GSMLG.Whois.Contact.t()
  },
  created_at: NaiveDateTime.t(),
  domain: String.t(),
  expires_at: NaiveDateTime.t(),
  nameservers: [String.t()],
  raw: String.t(),
  registrar: String.t(),
  updated_at: NaiveDateTime.t()
}

Link to this section Functions

@spec parse(String.t()) :: t()

Parses the raw WHOIS server response in raw into a %GSMLG.Whois.Record{}.