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-08 years ago92,207 downloads
1.0-18 years ago47 downloads
1.0-08 years ago17 downloads

Dependencies

lua >= 5.1

Dependency for

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

Labels

Manifests