Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handle ¶
Handle handles the HTTP ETag & HTTP If-None-Match — it return true if HTTP request was handled, and returns false if it wasn't.
Example usage:
func ServeHTTP(responseWriter http.ResponseWriter, request *http.Request) {
// ...
var handled bool = etag.Handle(responseWriter, request, eTag)
if handled {
return
}
// ...
}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.