forked from openrdap/rdap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
search_results.go
44 lines (34 loc) · 1.02 KB
/
search_results.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// OpenRDAP
// Copyright 2017 Tom Harwood
// MIT License, see the LICENSE file.
package rdap
// DomainSearchResults represents a domain search response.
//
// DomainSearchResults is a topmost RDAP response object.
type DomainSearchResults struct {
DecodeData *DecodeData
Common
Conformance []string `rdap:"rdapConformance"`
Notices []Notice
Domains []Domain `rdap:"domainSearchResults"`
}
// NameserverSearchResults represents a nameserver search response.
//
// NameserverSearchResults is a topmost RDAP response object.
type NameserverSearchResults struct {
DecodeData *DecodeData
Common
Conformance []string `rdap:"rdapConformance"`
Notices []Notice
Nameservers []Nameserver `rdap:"nameserverSearchResults"`
}
// EntitySearchResults represents an entity search response.
//
// EntitySearchResults is a topmost RDAP response object.
type EntitySearchResults struct {
DecodeData *DecodeData
Common
Conformance []string `rdap:"rdapConformance"`
Notices []Notice
Entities []Entity `rdap:"entitySearchResults"`
}