go_tab-magic/pkg/model/model.go

16 lines
327 B
Go
Raw Permalink Normal View History

2018-11-27 04:56:21 +00:00
package model
2019-01-14 18:31:46 +00:00
// Results is for DNS results
2018-11-27 04:56:21 +00:00
type Results struct {
IP string `json:"ip"`
Hostname string `json:"hostname"`
2019-01-14 18:31:46 +00:00
TXT string `json:"TXT"`
2018-11-27 04:56:21 +00:00
}
2019-01-14 18:31:46 +00:00
// UniqResults is for Unique DNS Results
2018-11-27 04:56:21 +00:00
type UniqResults struct {
IP string `json:"ip"`
Hostname string `json:"hostname"`
2018-11-30 18:24:57 +00:00
TXT string `json:"TXT"`
2018-11-27 04:56:21 +00:00
}