summaryrefslogtreecommitdiffstats
path: root/internal/models/dns.go
blob: 776e3d694254ca73a540c1d3d260f63bee213786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package models

type DNSTLDParams struct {
	Term     string
	ShowOnly string
}

type DomainResult struct {
	Domain string   `json:"domain"`
	Status string   `json:"status"`
	Title  string   `json:"title,omitempty"`
	Tech   []string `json:"tech,omitempty"`
}

type DNSResponse struct {
	Message  string                 `json:"message,omitempty"`
	Data     map[string]interface{} `json:"data,omitempty"`
	Error    string                 `json:"error,omitempty"`
	Response string                 `json:"response,omitempty"`
}