diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-11-11 21:11:08 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-11-11 21:11:08 +0100 |
commit | c4c1fdb718730903842074656d58f26237fae9e1 (patch) | |
tree | eaacbb87acb2476cb87ac9ef538f68b372acaf48 /calls.go | |
parent | 67834e16b8d115d3a0f4b1835e9f8194f3d8e836 (diff) |
fixes #1
Diffstat (limited to 'calls.go')
-rw-r--r-- | calls.go | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -16,14 +16,14 @@ func (c *logoutCall) expectedStatus() []Status { return []Status{SuccessClosing} // A NSRecordInfoCall returns detailed information about a DNS record. type NSRecordInfoCall struct { - DomainName string `json:"domain,omitempty"` - DomainID int `json:"roId,omitempty"` - RecordID int `json:"recordId,omitempty"` - Type string `json:"type,omitempty"` - Name string `json:"name,omitempty"` - Content string `json:"content,omitempty"` - TTL int `json:"ttl,omitempty"` - Priority int `json:"prio,omitempty"` + DomainName string `json:"domain,omitempty"` + DomainID int `json:"roId,omitempty"` + RecordID int `json:"recordId,omitempty"` + Type RecordType `json:"type,omitempty"` + Name string `json:"name,omitempty"` + Content string `json:"content,omitempty"` + TTL int `json:"ttl,omitempty"` + Priority int `json:"prio,omitempty"` } func (c *NSRecordInfoCall) method() string { return "nameserver.info" } |