feat: add strategy flag

Ref https://github.com/mr-karan/doggo/issues/35
This commit is contained in:
Karan Sharma 2022-05-17 10:21:14 +05:30
parent 79c5fc7283
commit 7619cbdeb0
7 changed files with 46 additions and 9 deletions

View file

@ -18,6 +18,7 @@ type Options struct {
Ndots int
Timeout time.Duration
Logger *logrus.Logger
Strategy string
}
// Resolver implements the configuration for a DNS