Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromStd ¶
FromStd converts native http.Handler & http.HandlerFunc to context.Handler.
Supported form types:
.FromStd(h http.Handler) .FromStd(func(w http.ResponseWriter, r *http.Request)) .FromStd(func(w http.ResponseWriter, r *http.Request, next http.HandlerFunc))
func FromStdWithNext ¶
func FromStdWithNext(h func(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)) context.Handler
FromStdWithNext receives a standar handler - middleware form - and returns a compatible context.Handler wrapper.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.