*(dnsforward): added QLogFile struct

This struct is supposed to use an easier algorithm for scanning query
log files. The end goal is allow us scanning multiple query log files.
This commit is contained in:
Andrey Meshkov
2020-02-18 13:02:59 +03:00
parent 57466233cb
commit 9d5f201ddf
4 changed files with 341 additions and 0 deletions

1
go.mod
View File

@@ -15,6 +15,7 @@ require (
github.com/kardianos/service v0.0.0-20181115005516-4c239ee84e7b
github.com/krolaw/dhcp4 v0.0.0-20180925202202-7cead472c414
github.com/miekg/dns v1.1.26
github.com/pkg/errors v0.8.1
github.com/sparrc/go-ping v0.0.0-20181106165434-ef3ab45e41b0
github.com/stretchr/testify v1.4.0
go.etcd.io/bbolt v1.3.3 // indirect