luafan

CircleCI GitHub

LUAFAN (Powered by: LUAFAN LAB LTD)

luafan is a non-blocking/single-process module collection to lua, full supported lua coroutine. luafan simulated blocking code style over non-blocking implementation. It’s easy to write several api invocations one by one without any callback.

Non-blocking Modules

Utility Modules

ORM

POOL

Config

Package Variants

There are 3 package variants available in LuaRocks:

luafan (Full Package)

Modules: fifo tcpd udpd httpd stream objectbuf http mariadb connector worker utils pool upnp Dependencies: libevent curl openssl mariadb Use case: Complete async networking and database development

luafanlite (Lite Package)

Modules: fifo tcpd udpd httpd stream objectbuf http connector worker utils pool upnp Dependencies: libevent curl openssl Use case: Async networking without database requirements

luafanmicro (Micro Package)

Modules: fifo tcpd udpd httpd stream objectbuf connector worker utils pool Dependencies: libevent Use case: Minimal async networking (no SSL/HTTP client/UPnP)