Zinx is a lightweight TCP server framework written in Go that provides a structured foundation for building scalable network applications. It combines a goroutine-pool worker model for concurrency control with message-ID-based routing, enabling efficient packet dispatching to registered handler functions.
The framework distinguishes itself through its modular plugin architecture, which organizes server components like routers, connections, and message modules as interchangeable plugins for extensibility. It uses packet-header length prefixing for reliable TCP stream framing, assigns a dedicated reader goroutine per connection for non-blocking I/O, and loads server parameters from a JSON configuration file at startup.
Zinx supports concurrent connection management, TCP client connections, and message routing by numeric identifier, providing the core building blocks for constructing TCP servers with controlled concurrency and modular design.