package response
import "git.sr.ht/~bitfehler/go-enom/response"
Index ¶
- type Contact
- type DomainCheck
- type DomainInfo
- type DomainPrices
- type DomainPurchase
- type NameSpinner
- type RRPInfo
- type TldDetails
- type TldList
- type TldRegistrationDetails
- type WhoisContact
Types ¶
type Contact ¶
type Contact struct { OrganizationName string //JobTitle string FirstName string LastName string Address1 string Address2 string City string Country string StateProvince string PostalCode string Email string Phone string PhoneExtension string Fax string }
type DomainCheck ¶
type DomainCheck struct { FQDN string IsAvailable bool IsPremium bool // TODO: do we want all these? Or just a `IsSpecialPrice`? Or an enum? IsPlatinum bool IsEAP bool Prices DomainPrices }
type DomainInfo ¶
type DomainInfo struct { Domain string Name string Extension string IsRegistered bool ExpirationDate *time.Time }
type DomainPrices ¶
DomainPrices describes the pricing for a domain. All values are in USD.
type DomainPurchase ¶
type DomainPurchase struct { // If this is not "" then the order was placed successfully OrderID string // If this is false the order was queued. Check OrderStatus and OrderDescription. OrderCompleted bool OrderStatus string OrderDescription string // Only set if OrderCompleted == true RegistrationDate time.Time // Only set if OrderCompleted == true ExpirationDate time.Time // The total amount charged for this purchase Price float64 }
type NameSpinner ¶
type NameSpinner struct { }
type RRPInfo ¶
type RRPInfo struct { Nameservers []string UpdatedDate time.Time CreatedDate time.Time ExpirationDate time.Time Status []string }
type TldDetails ¶
type TldDetails struct { Tld string Lockable bool SupportsIDN bool Registration TldRegistrationDetails }
TODO fill with documented values
type TldList ¶
type TldList []string
type TldRegistrationDetails ¶
type TldRegistrationDetails struct { IsRealTime bool DNSRequired bool DNSMinServers int DNSMaxServers int }
type WhoisContact ¶
type WhoisContact struct { Contacts []Contact RRPInfo RRPInfo // TODO: Why is this in here? Keep it? DomainExpired bool }
Source Files ¶
- Version
- v0.0.0-20231221101958-729f9082ef48 (latest)
- Published
- Dec 21, 2023
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 3 minutes ago –
Tools for package owners.