Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auto ¶
Simple, automatic, and conservative ETag middleware that handles (1) setting ETags on GET and HEAD requests and (2) returning 304 responses as appropriate based on a request's If-None-Match header. Defaults to weak ETags, but can be configered to set strong ETags. ETags are determined by buffering and hashing the response body.
Types ¶
Click to show internal directories.
Click to hide internal directories.