refactor some lua code

This commit is contained in:
Elvin Efendi 2018-06-19 12:46:49 +04:00
parent ced6c5bd96
commit cb4755835e
11 changed files with 83 additions and 47 deletions

View file

@ -1,6 +1,6 @@
package.path = "./rootfs/etc/nginx/lua/?.lua;./rootfs/etc/nginx/lua/test/mocks/?.lua;" .. package.path
_G._TEST = true
local defer = require('defer')
local defer = require('util.defer')
local _ngx = {
shared = {},