Documentation
¶
Overview ¶
Package adapter 与标准库的适配
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPHandler ¶
func HTTPHandler(h http.Handler) web.HandlerFunc
HTTPHandler 将 http.Handler 转换为 web.HandlerFunc
func HTTPHandlerFunc ¶
func HTTPHandlerFunc(f func(http.ResponseWriter, *http.Request)) web.HandlerFunc
HTTPHandlerFunc 将 http.HandlerFunc 转换为 web.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.