Documentation ¶
Index ¶
- type DomainRecord
- func CreateDomainRecord(domainName string, token string, record DomainRecord) (DomainRecord, error)
- func GetAllDomainRecords(domainName string, token string) ([]DomainRecord, error)
- func GetDomainRecordsByNameAndType(domainName string, token string, recordType string, hostName string) ([]DomainRecord, error)
- func UpdateDomainRecord(domainName string, token string, record DomainRecord) (DomainRecord, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainRecord ¶
type DomainRecord struct { Id int `json:"id"` Type string `json:"type"` Name string `json:"name"` Data string `json:"data"` Priority *int `json:"priority"` Port *int `json:"port"` TTL int `json:"ttl"` Weight *int `json:"weight"` Flags *int `json:"flags"` Tag string `json:"tag"` }
func CreateDomainRecord ¶
func CreateDomainRecord(domainName string, token string, record DomainRecord) (DomainRecord, error)
func GetAllDomainRecords ¶
func GetAllDomainRecords(domainName string, token string) ([]DomainRecord, error)
func UpdateDomainRecord ¶
func UpdateDomainRecord(domainName string, token string, record DomainRecord) (DomainRecord, error)
Click to show internal directories.
Click to hide internal directories.