Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddDNSRecord ¶
func (c *Client) AddDNSRecord(ctx context.Context, record DNSRecordInput) error
func (*Client) ListDNSRecords ¶
func (*Client) RemoveDNSRecord ¶ added in v0.1.1
func (c *Client) RemoveDNSRecord(ctx context.Context, record DNSRecordInput) error
type DNSRecordInput ¶
type DNSRecordInput struct { Record string `url:"record" json:"record"` Value string `url:"value" json:"value"` Type RecordType `url:"type" json:"type"` }
type RecordType ¶
type RecordType string
const ( CNAMERecordType RecordType = "CNAME" ARecordType RecordType = "A" NSRecordType RecordType = "NS" NAPTRRecordType RecordType = "NAPTR" SRVRecordType RecordType = "SRV" TXTRecordType RecordType = "TXT" AAAARecordType RecordType = "AAAA" )
Click to show internal directories.
Click to hide internal directories.