MCPcopy
hub / github.com/julienschmidt/httprouter / Handle

FuncType Handle

router.go:88–88  ·  router.go::Handle

Handle is a function that can be registered to a route to handle HTTP requests. Like http.HandlerFunc, but has a third parameter for the values of wildcards (variables).

func(http.ResponseWriter, *http.Request, Params)

Source from the content-addressed store, hash-verified

86// requests. Like http.HandlerFunc, but has a third parameter for the values of
87// wildcards (variables).
88type Handle func(http.ResponseWriter, *http.Request, Params)
89
90// Param is a single URL parameter, consisting of a key and a value.
91type Param struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected