Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/collinglass/mw
/ functions
Functions
10 in github.com/collinglass/mw
⨍
Functions
10
◇
Types & classes
1
↓ 1 callers
Function
CreatedMiddleware
Create middleware from scratch
mw_test.go:10
↓ 1 callers
Function
JSONMiddleware
Create middleware from scratch
mw_test.go:22
↓ 1 callers
Function
JSONMiddleware
Create middleware from scratch
example/example_gorilla_mux.go:15
↓ 1 callers
Function
JSONMiddleware
Create middleware from scratch
example/example.go:14
Function
DataHandler
(w http.ResponseWriter, r *http.Request)
example/example_gorilla_mux.go:10
Function
DataHandler
(w http.ResponseWriter, r *http.Request)
example/example.go:9
Function
Decorate
Decorate ranges over a variadic number of middleware and decorates the http.Handler with them.
mw.go:99
Function
TestDecorate
(t *testing.T)
mw_test.go:33
Function
main
()
example/example_gorilla_mux.go:26
Function
main
()
example/example.go:26