Documentation ¶
Index ¶
- func ApplyMiddleware(h http.Handler, middleware ...Middleware) http.Handler
- func AuthMiddleware(next http.Handler) http.Handler
- func ClientDemo()
- func CookieDemo()
- func MiddlewareDemo()
- func ServerDemo()
- func SimpleMiddleware(next http.Handler) http.Handler
- type Middleware
- type MyHandler
- type SomeHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyMiddleware ¶
func ApplyMiddleware(h http.Handler, middleware ...Middleware) http.Handler
func ClientDemo ¶
func ClientDemo()
func CookieDemo ¶
func CookieDemo()
func MiddlewareDemo ¶
func MiddlewareDemo()
func ServerDemo ¶
func ServerDemo()
Types ¶
type SomeHandler ¶
type SomeHandler struct{}
func (*SomeHandler) ServeHTTP ¶
func (sh *SomeHandler) ServeHTTP(w http.ResponseWriter, _ *http.Request)
Click to show internal directories.
Click to hide internal directories.