File

libs/time.lua @ 452:628896d39d8e

client: Allow passing SCRAM hashes for use in authentication
author Kim Alvefur <zash@zash.se>
date Wed, 03 Aug 2022 02:59:09 +0200
parent 440:14071b3a46df
child 471:788d4d91ef6b
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;
}