Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var A = &AnyHandler{}
View Source
var A2 = &anyHandler{}
View Source
var H = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if r.Method != "POST" { return } fmt.Fprintf(w, "hello world") })
View Source
var IndexVar = Index
View Source
var IndexVar2 = index
Functions ¶
Types ¶
type AnyHandler ¶
type AnyHandler struct{}
func (*AnyHandler) ServeHTTP ¶
func (a *AnyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.