chore: Create a resolver package

This commit is contained in:
Karan Sharma 2020-12-11 16:48:54 +05:30
parent a57814688c
commit b602beda0f
8 changed files with 63 additions and 33 deletions

View file

@ -0,0 +1,8 @@
package resolvers
import "github.com/miekg/dns"
type Resolver interface {
Name() string
Lookup([]dns.Question) error
}