etag

package
v0.99.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package etag implements middleware for handling the ETag header in responses. It is modified from the original package github.com/go-http-utils/etag to use xxHash instead of sha1.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(next http.Handler, weak bool) http.Handler

Handler wraps the http.Handler h with ETag support.

Types

This section is empty.

Jump to

Keyboard shortcuts

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