Documentation ¶
Index ¶
- type DynectClient
- func (d *DynectClient) GetAllRecordList(record *godynect.Record) ([]*godynect.Record, error)
- func (d *DynectClient) GetAllRecords(record *godynect.Record, records *godynect.AllRecordsResponse) error
- func (d *DynectClient) GetRecordByName(record *godynect.Record) ([]*godynect.Record, error)
- func (d *DynectClient) GetRecordID(record *godynect.Record) error
- func (d *DynectClient) RecordFromURL(url string) *godynect.Record
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynectClient ¶
type DynectClient struct { *godynect.ConvenientClient // contains filtered or unexported fields }
DynectClient REST client of DynDNS Dynect API, with a few extra helper methods on top of the godynect SDK ConvenientClient
func NewDynectClient ¶
func NewDynectClient(customerName string) *DynectClient
NewDynectClient Creates a new DynectClient
func (*DynectClient) GetAllRecordList ¶
GetAllRecordList gets all record details
func (*DynectClient) GetAllRecords ¶
func (d *DynectClient) GetAllRecords(record *godynect.Record, records *godynect.AllRecordsResponse) error
GetAllRecords return all records for an entry
func (*DynectClient) GetRecordByName ¶
GetRecordByName gets records with the specified record name
func (*DynectClient) GetRecordID ¶
func (d *DynectClient) GetRecordID(record *godynect.Record) error
GetRecordID finds the dns record ID by fetching all records for a FQDN
func (*DynectClient) RecordFromURL ¶
func (d *DynectClient) RecordFromURL(url string) *godynect.Record
RecordFromURL return a Record from a URL
Click to show internal directories.
Click to hide internal directories.