Versions in this module Expand all Collapse all v0 v0.10.1 May 12, 2017 v0.10.0 May 1, 2017 Changes in this version + const PathAuth + const PathDNSAdd + const PathDNSDelete + const PathDNSEdit + const PathDNSGet + const PathDNSNuke + const PathInfo + type Client struct + Password string + Token string + URL string + Username string + func NewClient(api, username, password string) *Client + func (c *Client) AddARecord(domain, address, host string, ttl int64, six bool) error + func (c *Client) AddCNAME(domain, value, host string, ttl int64) error + func (c *Client) AddMX(domain, value, host string, ttl int64, priority uint16) error + func (c *Client) AddNS(domain, value, host string, ttl int64, priority uint16) error + func (c *Client) AddSRV(domain, value, host string, ttl int64, priority, port, weight uint16) error + func (c *Client) AddTXT(domain, value, host string, ttl int64, priority uint16) error + func (c *Client) Authenticate() bool + func (c *Client) DNSActive(string) bool + func (c *Client) DeleteARecord(domain, value, host string, six bool) error + func (c *Client) DeleteCNAME(domain, value, host string) error + func (c *Client) DeleteMX(domain, value, host string) error + func (c *Client) DeleteNS(domain, value, host string) error + func (c *Client) DeleteSRV(domain, value, host string, port, weight uint16) error + func (c *Client) DeleteTXT(domain, value, host string) error + func (c *Client) EditARecord(domain, oldip, newip, host string, ttl int64, six bool) error + func (c *Client) EditCNAME(domain, oldip, newip, host string, ttl int64) error + func (c *Client) EditMX(domain, oldip, newip, host string, ttl int64, priority uint16) error + func (c *Client) EditNS(domain, oldip, newip, host string, ttl int64) error + func (c *Client) EditSOA(domain, person string, refresh, retry, expire, ttl int64) error + func (c *Client) EditSRV(domain, oldval, newval, host string, ttl int64, priority, port, weight uint) error + func (c *Client) EditTXT(domain, oldip, newip, host string, ttl int64) error + func (c *Client) GetDNSRecords(domain, value, host, t string, page int) (*lbapi.DNSRecordList, error)