Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { ZoneID string CloudflareAPI *cloudflare.API }
API is a custom type that is used as a wrapper for the actual Cloudflare API instance
func New ¶
New creates a new instance of the type *API which takes a Config type as an argument and returns an *API and an error
func (*API) GetDNSRecords ¶
GetDNSRecords pulls all DNS Records associated with each element of the recordNames slice passed to this method as a parameter and returns a [][]cloudflare.DNSRecord and an error
func (*API) UpdateDNSRecords ¶
type InvalidParamError ¶
type InvalidParamError struct {
Param string
}
func (InvalidParamError) Error ¶
func (e InvalidParamError) Error() string
Click to show internal directories.
Click to hide internal directories.