hyperlane-plugin-tenant 23.3.0

A zero-allocation multi-tenant resolution and isolation plugin for the Hyperlane framework supporting X-Tenant-Id header, Host subdomain, and path-prefix extraction, XxHash3_64 tenant registry, pluggable TenantResolver, and prebuilt 400/403/404 wire responses.
Documentation
1
2
3
4
use super::*;

/// Global process-wide [`TenantPlugin`] singleton.
pub(crate) static TENANT_PLUGIN: OnceLock<TenantPlugin> = OnceLock::new();