package
Version:
v0.0.0-...-4f4ac90
Opens a new window with list of versions in this module.
Published: Nov 23, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ModeAnycast = "anycast"
ModeZone = "zone"
)
Modes.
type APIError struct {
Message string `json:"message"`
StatusCode int `json:"-"`
}
Client a nicmanager DNS client.
NewClient create a new Client.
Options the Client options.
type Record struct {
ID int `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Content string `json:"content"`
TTL int `json:"ttl"`
}
type RecordCreateUpdate struct {
Name string `json:"name"`
Value string `json:"value"`
TTL int `json:"ttl"`
Type string `json:"type"`
}
type Zone struct {
Name string `json:"name"`
Active bool `json:"active"`
Records []Record `json:"records"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.