Skip to content

kurapica/NgxLua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The implementation of the PLoop.System.Web based on the Openresty

This lib provide the implementation of the PLoop.System.Web framework for Openresty.

It provide the implementation of:

  • NgxLua.HttpRequest - Fetch data from the ngx.req as the http request object
  • NgxLua.HttpResponse - Send data to ngx as the http response object
  • NgxLua.HttpContext - Use the NgxLua.HttpRequest as the request and the NgxLua.HttpResponse as the response

It also provide plenty features:

  • Data
    • ShareDict - The cache based on the Openresty's shared table
    • Redis - The cache based on the redis
    • MySQLProvider - MySQL providers that could be used by the data entity system
  • Thread
    • LockManager - The lock manager for threads based on the resty.lock lib
  • Http
    • HttpFiles - Handle the upload files, wrap them to HttpFile objects for simple using
    • ShareSessionStorageProvider -- The session storage provider based on the share dict
    • RedisSessionStorageProvider -- The session storage provider based on the redis

Embed the PLoop into Openresty

Take the PLoop.Browser as example, we'll see how to use the PLoop and NgxLua in an Openresty server.

About

The implementation of the PLoopWeb based on the Openresty

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages