Files
EdgeAPI/internal/dnsclients/record.go

18 lines
348 B
Go
Raw Normal View History

package dnsclients
type RecordType = string
const (
RecordTypeA RecordType = "A"
RecordTypeCName RecordType = "CNAME"
2020-11-15 11:57:49 +08:00
RecordTypeTXT RecordType = "TXT"
)
type Record struct {
Id string `json:"id"`
Name string `json:"name"`
Type RecordType `json:"type"`
Value string `json:"value"`
Route string `json:"route"`
}