package
Version:
v4.8.0
Opens a new window with list of versions in this module.
Published: Jun 30, 2022
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type APIError struct {
Message string `json:"message"`
}
type AddRecordResponse struct {
Data struct {
ID int `json:"id"`
} `json:"data"`
Meta struct {
Location string `json:"location"`
}
}
Client the UKFast SafeDNS client.
NewClient Creates a new Client.
AddRecord adds a DNS record.
RemoveRecord removes a DNS record.
type Record struct {
Name string `json:"name"`
Type string `json:"type"`
Content string `json:"content"`
TTL int `json:"ttl"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.