gatewaycontract

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package gatewaycontract is the shared conformance suite for the gateway.Gateway port (ADR-0012). RunContract executes the same observable assertions against any driver — the embedded reverse-proxy driver calls it (the sole driver since ADR-0029 dropped Lura) — proxying to a real httptest upstream.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunContract

func RunContract(t *testing.T, newGateway func(t *testing.T) gateway.Gateway)

RunContract runs every scenario assertion against the gateway from newGateway.

Types

This section is empty.

Jump to

Keyboard shortcuts

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