diff options
Diffstat (limited to 'zone_record_request.go')
| -rw-r--r-- | zone_record_request.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/zone_record_request.go b/zone_record_request.go new file mode 100644 index 0000000..3996643 --- /dev/null +++ b/zone_record_request.go @@ -0,0 +1,18 @@ +// SPDX-FileCopyrightText: 2022 M. Shulhan <ms@kilabit.info> +// SPDX-License-Identifier: GPL-3.0-or-later + +package rescached + +import ( + "github.com/shuLhan/share/lib/dns" +) + +// zoneRecordRequest contains the request parameters for adding or deleting +// record on zone.d. +type zoneRecordRequest struct { + Zone string `json:"zone"` + Type string `json:"type"` + Record string `json:"record"` + recordRaw []byte + rtype dns.RecordType +} |
