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-07 years ago89,076 downloads
1.0-17 years ago45 downloads
1.0-07 years ago16 downloads

Dependencies

lua >= 5.1

Dependency for

APIcast, digiprime-jwt, kong-plugin-rbac, kong-plugin-rbac, kong-plugin-rbac, pegasus-router

Labels

Manifests