A lightweight server framework based on Lua
./silly <config>
daemon
, 1 --> run as daemon, 0 --> normalbootstrap
, lua entry filelualib_path
, will append the package.path (in luaVM)lualib_cpath
, will append the package.cpath (int luaVM)logpath
, when running in daemon mode, all print message will write to [logpath]/silly-[pid].log
filepidfile
, when running in daemon mode, pidfile
will used by run only once on a systemtest
folder./silly test/test.conf
to test all moduleexamples/start.sh timer/socket/rpc/http/websocket
can run one exampleexamples/start.sh
can run all exampleshttps://github.com/findstr/silly/wiki