httputil

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrWrite = errors.New("failed to write")

Functions

func LoggingHandler

func LoggingHandler(handler http.Handler) http.Handler

func MetaHandler added in v1.1.0

func MetaHandler(handler MetaHTTPHandler, source source) http.Handler

Types

type MetaHTTPHandler added in v1.1.0

type MetaHTTPHandler func(dir *index.Meta, file *index.Meta, w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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