File

util/time.lua @ 8131:c8e3a0caa0a9

mod_tls: Rebuild SSL context objects on configuration reload - #701
author Kim Alvefur <zash@zash.se>
date Tue, 25 Apr 2017 21:50:36 +0200
parent 7461:72e48bddf617
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;
}