Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudFlareProvider ¶
type CloudFlareProvider struct {
// contains filtered or unexported fields
}
func NewCloudFlareProvider ¶
func NewCloudFlareProvider(ctx context.Context, apiToken string) (*CloudFlareProvider, error)
func (*CloudFlareProvider) Get ¶
func (p *CloudFlareProvider) Get(domain, record string) (string, error)
Get fetches the IP of the given record, returning empty string if it doesn't exist
func (*CloudFlareProvider) Update ¶
func (p *CloudFlareProvider) Update(domain, record, ip string) error
Update updates the CloudFlare DNS record
Click to show internal directories.
Click to hide internal directories.