Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyToHertzRequest ¶ added in v0.5.0
CopyToHertzRequest copy uri, host, method, protocol, header, but share body reader from http.Request to protocol.Request.
func GetCompatResponseWriter
deprecated
func GetCompatResponseWriter(resp *protocol.Response) http.ResponseWriter
GetCompatResponseWriter only support basic function of ResponseWriter, not for all.
Deprecated: use HertzHandler instead
func HertzHandler ¶ added in v0.10.0
func HertzHandler(h http.Handler) app.HandlerFunc
HertzHandler converts a http.Handler to an app.HandlerFunc.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.