Versions in this module Expand all Collapse all v1 v1.0.2 Sep 18, 2019 v1.0.1 Sep 18, 2019 v1.0.0 Apr 26, 2019 Changes in this version + func Panic(e Error) + func PanicIfError(e error) + type DNSManager interface + AddDNSRecord func(record DNSRecord) error + GetDNSRecord func(name, recordType string) (*DNSRecord, error) + GetDNSRecords func() ([]DNSRecord, error) + RemoveDNSRecord func(name, recordType string) error + UpdateDNSRecord func(record DNSRecord) error + type DNSRecord struct + Name string + Type string + Value string + func (record *DNSRecord) Check() []string + type Error struct + Code int + Details []string + Err error + Message string + func BadRequestError(message string, err error, details ...string) *Error + func InternalServerError(message string, err error, details ...string) *Error + func NotFoundError(message string, err error, details ...string) *Error + func (e *Error) Error() string