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

@ -35,6 +35,7 @@ type QueryFlags struct {
ShowJSON bool `koanf:"json" json:"-"`
UseSearchList bool `koanf:"search" json:"-"`
ReverseLookup bool `koanf:"reverse" reverse:"-"`
Strategy string `koanf:"strategy" strategy:"-"`
}
// Nameserver represents the type of Nameserver