Documentation ¶
Index ¶
- func CopyContextToWoodyContext(context interface{}, requestContext *fasthttp.RequestCtx)
- func HTTPHandler(h http.Handler) woody.Handler
- func HTTPHandlerFunc(h http.HandlerFunc) woody.Handler
- func HTTPMiddleware(mw func(http.Handler) http.Handler) woody.Handler
- func WoodyApp(app *woody.App) http.HandlerFunc
- func WoodyHandler(h woody.Handler) http.Handler
- func WoodyHandlerFunc(h woody.Handler) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyContextToWoodyContext ¶
func CopyContextToWoodyContext(context interface{}, requestContext *fasthttp.RequestCtx)
CopyContextToWoodyContext copies the values of context.Context to a fasthttp.RequestCtx
func HTTPHandler ¶
HTTPHandler wraps net/http handler to woody handler
func HTTPHandlerFunc ¶
func HTTPHandlerFunc(h http.HandlerFunc) woody.Handler
HTTPHandlerFunc wraps net/http handler func to woody handler
func HTTPMiddleware ¶
HTTPMiddleware wraps net/http middleware to woody middleware
func WoodyApp ¶
func WoodyApp(app *woody.App) http.HandlerFunc
WoodyApp wraps woody app to net/http handler func
func WoodyHandler ¶
WoodyHandler wraps woody handler to net/http handler
func WoodyHandlerFunc ¶
func WoodyHandlerFunc(h woody.Handler) http.HandlerFunc
WoodyHandlerFunc wraps woody handler to net/http handler func
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.