response

package
v0.0.0-...-729f908 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

type DomainPrices struct {
	Registration float64
	Renewal      float64
	Restore      float64
	Transfer     float64
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL