etags

package
v0.20.15 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

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

Handler wraps the http.Handler h with ETag support.

func IsFresh

func IsFresh(reqHeader http.Header, resHeader http.Header) bool

IsFresh check whether cache can be used in this HTTP request

Types

This section is empty.

Jump to

Keyboard shortcuts

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