embedded

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package embedded implements the gateway.Gateway port with net/http/httputil — a hand-written reverse proxy behind a longest-prefix router (ADR-0012). It is the cross-platform dev/e2e/CI driver (the InMemory() harness gateway); pure stdlib, no framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() gateway.Gateway

New returns an embedded reverse-proxy gateway (dev/e2e/CI). Its reverse proxies share one pooled upstream transport so connections to the function workeres are reused across requests — http.DefaultTransport keeps only 2 idle conns/host, which churns connections into TIME_WAIT and exhausts ephemeral ports under load (ADR-0041, surfaced by ADR-0040).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL