README ¶ middlechain The simple HTTP middleware chainer for Golang. How to use mux := http.NewServeMux() handler := middlechain.Chain(mux, someMiddleware, ) // handle http request... http.ListenAndServe(":8080", handler) Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Chain(h http.Handler, m ...func(http.Handler) http.Handler) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Chain ¶ func Chain(h http.Handler, m ...func(http.Handler) http.Handler) http.Handler Types ¶ This section is empty. Source Files ¶ View all Source files middlechain.go Directories ¶ Show internal Expand all Path Synopsis _example Click to show internal directories. Click to hide internal directories.