Documentation ¶
Index ¶
Constants ¶
View Source
const CTX_KEY key = 1
Variables ¶
This section is empty.
Functions ¶
func WrapHandler ¶
func WrapHandler(hn func(w http.ResponseWriter, r *http.Request) error) http.HandlerFunc
WrapHandler wraps a modified http.HandlerFunc into a stdlib-compatible one. The inner HandlerFunc additionally returns an error.
Types ¶
Click to show internal directories.
Click to hide internal directories.