preload support

This commit is contained in:
Cloud Wu
2014-04-23 18:06:21 +08:00
parent 1a169ec413
commit 518017bd34
4 changed files with 49 additions and 58 deletions

7
examples/preload.lua Normal file
View File

@@ -0,0 +1,7 @@
-- This file will execute before every lua service start
-- See config
local skynet = require "skynet"
print("PRELOAD", ...)