libs/time.lua@8e6a7a5e70b3
libs/time.lua
Fri, 17 Mar 2023 09:24:36 +0000
- author
- Matthew Wild <mwild1@gmail.com>
- date
- Fri, 17 Mar 2023 09:24:36 +0000
- changeset 467
- 8e6a7a5e70b3
- parent 440
-
14071b3a46df
- child 471
-
788d4d91ef6b
- permissions
- -rw-r--r--
sasl: Expose what mechanisms were offered on authentication-failure
-- 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;
}