httpx

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package httpx wraps a server.Mux as an http.Handler. Stream responses are emitted as SSE; everything else is JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(m *server.Mux) http.Handler

Wrap returns an http.Handler that proxies every request into the mux's Dispatch. Auth/CORS/logging belong in middleware around the returned handler, not in here — the mux itself is transport-agnostic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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