listen

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(opts Options) http.Handler

Handler returns an http.Handler that logs all incoming requests.

Types

type Options

type Options struct {
	Status int
	Body   string
	NoBody bool
	Writer io.Writer
}

Options configures the listen handler.

Jump to

Keyboard shortcuts

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