chore: Create a resolver package
This commit is contained in:
parent
a57814688c
commit
b602beda0f
8 changed files with 63 additions and 33 deletions
8
pkg/resolvers/resolver.go
Normal file
8
pkg/resolvers/resolver.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package resolvers
|
||||
|
||||
import "github.com/miekg/dns"
|
||||
|
||||
type Resolver interface {
|
||||
Name() string
|
||||
Lookup([]dns.Question) error
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue