Documentation ¶
Index ¶
- type AutorenewInfo
- type ContactDetails
- type ContactInfo
- type Domain
- func (self *Domain) Available(name string) (string, error)
- func (self *Domain) Count() (int64, error)
- func (self *Domain) Create(name, contactHandle string, years int64) (*operation.OperationInfo, error)
- func (self *Domain) Info(name string) (*DomainInfo, error)
- func (self *Domain) List() ([]*DomainInfoBase, error)
- type DomainInfo
- type DomainInfoBase
- type DomainInfoExtra
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutorenewInfo ¶
type ContactDetails ¶
type ContactInfo ¶
type ContactInfo struct { Admin *ContactDetails Bill *ContactDetails Owner *ContactDetails Reseller *ContactDetails Tech *ContactDetails }
type Domain ¶
func (*Domain) Create ¶
func (self *Domain) Create(name, contactHandle string, years int64) (*operation.OperationInfo, error)
Create a domain
func (*Domain) Info ¶
func (self *Domain) Info(name string) (*DomainInfo, error)
Get domain information
func (*Domain) List ¶
func (self *Domain) List() ([]*DomainInfoBase, error)
List domains associated to the contact represented by apikey
type DomainInfo ¶
type DomainInfo struct { *DomainInfoBase *DomainInfoExtra }
func ToDomainInfo ¶
func ToDomainInfo(res map[string]interface{}) *DomainInfo
type DomainInfoBase ¶
type DomainInfoBase struct { AuthInfo string DateCreated time.Time DateRegistryCreation time.Time DateRegistryEnd time.Time DateUpdated time.Time Fqdn string Id int64 Status []string Tld string }
func ToDomainInfoBase ¶
func ToDomainInfoBase(res map[string]interface{}) *DomainInfoBase
type DomainInfoExtra ¶
type DomainInfoExtra struct { DateDelete time.Time DateHoldBegin time.Time DateHoldEnd time.Time DatePendingDeleteEnd time.Time DateRenewBegin time.Time DateRestoreEnd time.Time Nameservers []string Services []string ZoneId int64 Autorenew *AutorenewInfo Contacts *ContactInfo }
func ToDomainInfoExtra ¶
func ToDomainInfoExtra(res map[string]interface{}) *DomainInfoExtra
Click to show internal directories.
Click to hide internal directories.