hyperlane-quick-start 18.1.1

A lightweight rust http server with middleware, websocket, sse, and tcp support, built on tokio for cross-platform async networking, hyperlane simplifies modern web service development.
hyperlane-quick-start-18.1.1 is not a library.

hyperlane-quick-start

A lightweight, high-performance, and cross-platform Rust HTTP server library built on Tokio. It simplifies modern web service development by providing built-in support for middleware, WebSocket, Server-Sent Events (SSE), and raw TCP communication. With a unified and ergonomic API across Windows, Linux, and MacOS, it enables developers to build robust, scalable, and event-driven network applications with minimal overhead and maximum flexibility.

Official Documentation

Api Docs

Directory Structure

├── application              # Application service
│   ├── controller           # Interface control layer
│   ├── domain               # Business domain layer
│   ├── exception            # Exception handling layer
│   ├── mapper               # Data mapping layer
│   ├── middleware           # Middleware layer
│   ├── model                # Data model layer
│      ├── request           # Request parameter objects
│      ├── response          # Response parameter objects
│   ├── repository           # Data access layer
│   ├── service              # Business logic layer
│   ├── utils                # Utility layer
│   ├── view                 # View layer
├── bootstrap                # Service initialization
│   ├── application          # Application initialization
│   ├── framework            # Framework initialization
├── config                   # Service configuration
│   ├── application          # Application configuration
│   ├── framework            # Framework configuration
├── plugin                   # Service plugins
│   ├── database             # Database plugin
│   ├── env                  # Environment variable plugin
│   ├── logger               # Logging plugin
│   ├── mysql                # MySQL plugin
│   ├── postgresql           # PostgreSQL plugin
│   ├── process              # Process management plugin
│   ├── redis                # Redis plugin
├── resources                # Service resources
│   ├── sql                  # SQL files
│   ├── static               # Static resource files
│   ├── templates            # Template files

Run

start

cargo run

started in background

cargo run -- -d

stop

cargo run stop

restart

cargo run restart

restarted in background

cargo run restart -d

Cli

cargo install hyperlane-cli

help

hyperlane-cli -h

Performance

Appreciate

I sincerely appreciate your support! If this project has been helpful to you, please consider showing your appreciation by visiting: Click Here to Appreciate

License

This project is licensed under the MIT License. For more details, please see the license file.

Contributing

Contributions are welcome! Please submit an issue or create a pull request.

Contact

If you have any questions, please contact the author: root@ltpp.vip.