Software /
code /
prosody
File
util/time.lua @ 8921:1c2925376315
mod_admin_telnet: Add debug:events() and debug:logevents()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 22 Jun 2018 13:20:38 +0100 |
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; }