httpsrv

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package httpsrv provides net/http middleware that subjects inbound requests to chaos. The Middleware mounts in any net/http chain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(eng *engine.Engine) func(http.Handler) http.Handler

Middleware returns an http middleware that consults eng on every request. If eng is nil or has no rules, the wrapper is a near-zero-cost passthrough.

Types

This section is empty.

Jump to

Keyboard shortcuts

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