diff options
author | 2017-10-25 19:46:41 +0100 | |
---|---|---|
committer | 2017-10-25 19:46:41 +0100 | |
commit | c2d93f7182a55e0e9a819f44b87735f635200423 (patch) | |
tree | 7f1738db982038b2443ae059faa2b903d1858bae /test | |
parent | 25367a43296bf681c984121ae7f40e08f32508a8 (diff) | |
download | coredns-c2d93f7182a55e0e9a819f44b87735f635200423.tar.gz coredns-c2d93f7182a55e0e9a819f44b87735f635200423.tar.zst coredns-c2d93f7182a55e0e9a819f44b87735f635200423.zip |
plugin/dnstap: some cleanup (#1172)
Some cleanup in proxy and dnstap:
* just use time pkg directly and side step the indirection for Epoch
* Use Set in SetQueryEpoch to be more Go like. (Looked like a reader)
* Don't maintain two sets of time, we already track start, so use that.
* Use time.Time and convert when needed
* dedent the toDnstap function and put in a separate file
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions