hyperlane-plugin-gateway 23.3.2

A reverse proxy and API gateway plugin for the Hyperlane framework with load balancing, path-prefix routing, token-bucket rate limiting, circuit breaking, RFC 9110 hop-by-hop header stripping, and pooled HTTP/1.1 + HTTP/2 upstream forwarding.
Documentation

hyperlane-plugin-gateway

Reverse Proxy & API Gateway Plugin with Load Balancing & Upstream Resilience

Crates.io Version Docs.rs CI Status Rust 2024 License: MIT

Workspace Overview · Plugin Catalog · API Docs


Overview

hyperlane-plugin-gateway turns a hyperlane server into a high-throughput reverse proxy and API gateway over pooled http-request HTTP/1.1 and HTTP/2 connections (hook order -50). It is opt-in and transparent (Status::Continue) when unconfigured.

Installation

cargo add hyperlane-plugin-gateway

Usage

use hyperlane_plugin_gateway::{GatewayConfig, GatewayPlugin};

fn setup_gateway() {
    GatewayPlugin::init(GatewayConfig::default());
}

Verification

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-gateway --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-gateway --all-features

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.