Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) AddTXTRecord(domain string, subdomain string, ttl int, value string) error
- func (c *Client) GetTXTRecords(domain string, subdomain string) ([]RecordObj, error)
- func (c *Client) RemoveSubdomain(domain, subdomain string) error
- func (c *Client) RemoveTXTRecord(domain string, subdomain string, recordID int) error
- type RecordObj
Constants ¶
View Source
const DefaultBaseURL = "https://api.loopia.se/RPCSERV"
DefaultBaseURL is url to the XML-RPC api.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client the Loopia client.
func (*Client) AddTXTRecord ¶
AddTXTRecord adds a TXT record.
func (*Client) GetTXTRecords ¶
GetTXTRecords gets TXT records.
func (*Client) RemoveSubdomain ¶
RemoveSubdomain remove a sub-domain.
Click to show internal directories.
Click to hide internal directories.