Expand description
hyperlane-plugin-env
Zero-dependency .env parser, layered typed environment configuration
loader, redacting SecretValue wrapper, and HYPERLANE_* ServerConfig
builder for Hyperlane.
Structs§
- EnvPlugin
- Layered environment configuration loader and
HYPERLANE_*ServerConfigbuilder. - Secret
Value - Secret string wrapper that always renders
[REDACTED]inDebugandDisplay.
Enums§
- EnvError
- Error produced by
.envparsing, typed key extraction, or [ServerConfig] construction.
Constants§
- DEFAULT_
ENV_ PREFIX - Default environment variable prefix for Hyperlane server settings (
HYPERLANE_). - KEY_
ADDRESS - Environment key for bind address (
ADDRESS, e.g.HYPERLANE_ADDRESS=0.0.0.0:8080). - KEY_
HOST - Environment key for bind host fallback (
HOST). - KEY_
NODELAY - Environment key for
TCP_NODELAY(NODELAY). - KEY_
PORT - Environment key for bind port fallback (
PORT). - KEY_
PROTOCOL - Environment key for server wire protocol (
PROTOCOL:http1,http2,http3). - KEY_
TLS_ CERT - Environment key for TLS certificate PEM path (
TLS_CERT). - KEY_
TLS_ KEY - Environment key for TLS private key PEM path (
TLS_KEY). - KEY_TTL
- Environment key for
IP_TTL(TTL). - REDACTED_
MARKER - Redacted debug/display marker for [
SecretValue].
Functions§
- parse_
dotenv - Parses
.envtext into an ordered key-value map supporting quotes,export, comments, and${VAR}.