File

libs/time.lua @ 453:e60c776b7760

util.sasl.scram: Refactor channel binding This will ease support for new channel binding methods.
author Kim Alvefur <zash@zash.se>
date Wed, 03 Aug 2022 03:04:17 +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;
}