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-09 years ago100,416 downloads
1.0-19 years ago73 downloads
1.0-09 years ago22 downloads

Dependencies

lua >= 5.1

Dependency for

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

Labels

Manifests