On Mon, Mar 3, 2014 at 4:23 PM, Kai Dong <[email protected]> wrote:
> So the lua scripts should interact with the plugin. > When the server start up, the scripts send information to > the plugin for configuration, and during the runtime of the > server, the plugin gets information and sends them to lua > scripts for further handling? > > Best, > > the answer could be longer, but there are two main points: 1) The server must be able to run and send back responses generated by Lua scripts. 2) Lua scripts must be able to receive Core internals, for more details i suggest you check the STAGE_30 where handler receives the context of the request. note: check the getting_started page, specifically the blog post about Monkey internals. regards,
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
