view util/time.lua @ 7712:0d93dfc2fbfd

mod_tls: Ignore unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 02 Nov 2016 23:19:41 +0100
parents 72e48bddf617
children
line wrap: on
line source

-- Import gettime() from LuaSocket, as a way to access high-resolution time
-- in a platform-independent way

local socket_gettime = require "socket".gettime;

return {
	now = socket_gettime;
}