mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 09:59:59 +08:00
13 lines
471 B
Go
13 lines
471 B
Go
|
package models
|
||
|
|
||
|
// RawRecordConfig stores the user-input from dnsconfig.js for a DNS
|
||
|
// Record. This is later processed (in Go) to become a RecordConfig.
|
||
|
// NOTE: Only newer rtypes are processed this way. Eventually the
|
||
|
// legacy types will be converted.
|
||
|
type RawRecordConfig struct {
|
||
|
Type string `json:"type"`
|
||
|
Args []any `json:"args,omitempty"`
|
||
|
Metas []map[string]any `json:"metas,omitempty"`
|
||
|
TTL uint32 `json:"ttl,omitempty"`
|
||
|
}
|