router

A barebones router for Lua. It matches urls and executes lua functions

$ luarocks install router

Features: 1) Allows binding a method and a path to a function 2) Parses parameters like /app/services/:service_id 3) It's platform-agnostic. It has been tested with openresty.

Versions

2.1-02 years ago13,744 downloads
1.0-12 years ago21 downloads
1.0-02 years ago13 downloads

Dependencies

lua >= 5.1

Dependency for

APIcast

Labels

Manifests