aboutsummaryrefslogtreecommitdiff
path: root/listrequest_test.go
AgeCommit message (Collapse)Author
2019-07-05all: refactoring with latest update on dns packageShulhan
All the server core functionalities (caches and forwarding) now implemented inside "dns.Server". The main function of this package are for reading options from configuration file (or from command line options) and watching changes from system resolv.conf. There are also some major changes on configuration file. * "server.parent" option now use URI format instead of IP:PORT. This will allow parent name servers to be UDP, TCP, and/or DoH simultaneusly. * "server.doh.parent" and "server.parent.connection" are removed, redundant with new "server.parent" format. * "cache.threshold" is renamed to "cache.prune_threshold".
2019-03-02go.mod: update dependency github.com/shuLhan/share to v0.4.0Shulhan
The dns package provide more human readable when printing Question. Instead of printing query type in number, for example A record with "1", the Question stringer now print "A" instead.
2019-01-26all: suppress linter warnings on long linesShulhan
2019-01-26all: suppress linter warnings on known global variablesShulhan
2019-01-24listrequest: replace items method with StringShulhan
2019-01-20listrequest: add unit testShulhan