package
Version:
v4.15.0
Opens a new window with list of versions in this module.
Published: Jan 28, 2024
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.