feat: gettin there
This commit is contained in:
parent
f888bd220f
commit
df306e18a9
11 changed files with 181 additions and 24 deletions
12
pkg/models/models.go
Normal file
12
pkg/models/models.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package models
|
||||
|
||||
// Question represents a given query to the client.
|
||||
// A question can have multiple domains, multiple nameservers
|
||||
// but it's the responsibility of the client to send each question
|
||||
// to the nameserver and collect responses.
|
||||
type Question struct {
|
||||
Domain []string
|
||||
Nameservers []string
|
||||
QClass []uint16
|
||||
QType []uint16
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue