Versions in this module Expand all Collapse all v0 v0.2.0 Aug 28, 2021 Changes in this version + var ValidPriority = []int + var ValidTTL = []int + func EditRecord(token string, domain string, record Record) error + func RemoveRecord(token string, domain string, id int) error + func Request(token string, method string, params map[string]interface{}) ([]byte, error) + type Domain struct + Expiry time.Time + Locked *bool + Mailforwarding *bool + MaxNameservers *int + Name string + Status string + func GetDomain(token string, domain string) (Domain, error) + func ListDomains(token string) ([]Domain, error) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + var Client HTTPClient + type MarketDomain struct + Name string + Price int + Status string + func FindDomains(token string, query string) ([]MarketDomain, error) + type Record struct + Content string + ID int + Name string + Priority *int + TTL int + Type string + func AddRecord(token string, domain string, record Record) (Record, error) + func ListRecords(token string, domain string) ([]Record, error)