http-server

command
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Per-request logger via integrations/loghttp middleware.

Run:

go run ./examples/http-server

Then in another terminal:

curl http://localhost:8080/users
curl -H 'X-Request-ID: my-trace-id' http://localhost:8080/users

Jump to

Keyboard shortcuts

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