Documentation ¶
Overview ¶
Example ¶
package main import ( "net/http" "github.com/go-http-utils/etag" ) func main() { mux := http.NewServeMux() mux.HandleFunc("/", func(res http.ResponseWriter, req *http.Request) { res.Write([]byte("Hello World")) }) http.ListenAndServe(":8080", etag.Handler(mux, false)) }
Output:
Index ¶
Examples ¶
Constants ¶
View Source
const Version = "0.2.1"
Version is this package's version.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.