Versions in this module Expand all Collapse all v1 v1.0.1 Sep 1, 2024 Changes in this version + var ErrBlockedDomain = errors.New("whoisparser: domain is blocked due to brand protection") + var ErrDomainDataInvalid = errors.New("whoisparser: domain whois data is invalid") + var ErrDomainLimitExceed = errors.New("whoisparser: domain whois query limit exceeded") + var ErrNotFoundDomain = errors.New("whoisparser: domain is not found") + var ErrPremiumDomain = errors.New("whoisparser: domain is available at premium price") + var ErrReservedDomain = errors.New("whoisparser: domain is reserved to register") + func Author() string + func License() string + func Prepare(text, ext string) (string, bool) + func Version() string + type Contact struct + City string + Country string + Email string + Fax string + FaxExt string + ID string + Name string + Organization string + Phone string + PhoneExt string + PostalCode string + Province string + ReferralURL string + Street string + type Domain struct + CreatedDate string + CreatedDateInTime *time.Time + DNSSec bool + Domain string + ExpirationDate string + ExpirationDateInTime *time.Time + Extension string + ID string + Name string + NameServers []string + Punycode string + Status []string + UpdatedDate string + UpdatedDateInTime *time.Time + WhoisServer string + type WhoisInfo struct + Administrative *Contact + Billing *Contact + Domain *Domain + Registrant *Contact + Registrar *Contact + Technical *Contact + func Parse(text string) (whoisInfo WhoisInfo, err error)