adaptor

package
v0.0.0-...-87dac79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

func HTTPHandler(h http.Handler) woody.Handler

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

func HTTPMiddleware(mw func(http.Handler) http.Handler) woody.Handler

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

func WoodyHandler(h woody.Handler) http.Handler

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL