aboutsummaryrefslogtreecommitdiff
path: root/plugins/xC/ping-timeout.lua
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-07-30 10:04:05 +0200
committerPřemysl Janouch <p@janouch.name>2018-07-30 10:07:02 +0200
commit404aa8c9cc7069e284e98b9e1f5964fc2dc6eca0 (patch)
tree1c584d16b5b4f1a2b80be9e433a398d8ea47dcd0 /plugins/xC/ping-timeout.lua
parent90129ee2bcf67f978b7746e80d2509a8141a3049 (diff)
downloadxK-404aa8c9cc7069e284e98b9e1f5964fc2dc6eca0.tar.gz
xK-404aa8c9cc7069e284e98b9e1f5964fc2dc6eca0.tar.xz
xK-404aa8c9cc7069e284e98b9e1f5964fc2dc6eca0.zip
hid: use time.Time and time.Duration
It improves the code significantly over explicit int64 conversions. Despite carrying unnecessary timezone information, time.Time also carries a monotonic reading of time, which allows for more precise measurement of time differences.
Diffstat (limited to 'plugins/xC/ping-timeout.lua')
0 files changed, 0 insertions, 0 deletions