Software /
code /
prosody
File
util/time.lua @ 8775:ae7cf011e46a
net.resolvers.basic: Support IP address literals
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 02 May 2018 19:06:59 +0200 (2018-05-02) |
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; }