diff options
Diffstat (limited to 'record.go')
-rw-r--r-- | record.go | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/record.go b/record.go new file mode 100644 index 0000000..b2f01ea --- /dev/null +++ b/record.go @@ -0,0 +1,40 @@ +package inwx + +// A RecordType specifies the type of a DNS record. +type RecordType string + +const ( + A = "A" + AAAA = "AAAA" + AFSDB = "AFSDB" + ALIAS = "ALIAS" + CAA = "CAA" + Cert = "CERT" + CNAME = "CNAME" + HINFO = "HINFO" + KEY = "KEY" + LOC = "LOC" + MX = "MX" + NAPTR = "NAPTR" + NS = "NS" + OpenPGPKey = "OPENPGPKEY" + PTR = "PTR" + RP = "RP" + SMIMEA = "SMIMEA" + SOA = "SOA" + SRV = "SRV" + SSHFP = "SSHFP" + TLSA = "TLSA" + TXT = "TXT" + URI = "URI" + URL = "URL" +) + +// A RecordURLRedirectType specifies which method of HTTP redirection to use. +type RecordURLRedirectType string + +const ( + Permanent = "HEADER301" + Temporary = "HEADER302" + Frame = "FRAME" +) |