Documentation ¶
Index ¶
- func APIGatewayProxyRequestAdaptor(r *http.Request, body, resourcePathPattern string, ...) events.APIGatewayProxyRequest
- func GetHTTPHandler(lambdaHandler APIGatewayProxyHandler, resourcePathPattern string, ...) http.Handler
- func GetHTTPHandlerWithContext(lambdaHandler APIGatewayProxyHandlerWithContext, resourcePathPattern string, ...) http.Handler
- type APIGatewayProxyHandler
- type APIGatewayProxyHandlerWithContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIGatewayProxyRequestAdaptor ¶ added in v0.4.0
func APIGatewayProxyRequestAdaptor( r *http.Request, body, resourcePathPattern string, stageVariables map[string]string, requestContext *events.APIGatewayProxyRequestContext, ) events.APIGatewayProxyRequest
func GetHTTPHandler ¶ added in v0.3.0
func GetHTTPHandler( lambdaHandler APIGatewayProxyHandler, resourcePathPattern string, stageVariables map[string]string, proxyRequestCtx *events.APIGatewayProxyRequestContext, ) http.Handler
func GetHTTPHandlerWithContext ¶ added in v0.3.0
func GetHTTPHandlerWithContext( lambdaHandler APIGatewayProxyHandlerWithContext, resourcePathPattern string, stageVariables map[string]string, proxyRequestCtx *events.APIGatewayProxyRequestContext, ) http.Handler
Types ¶
type APIGatewayProxyHandler ¶
type APIGatewayProxyHandler func(r events.APIGatewayProxyRequest) (any, error)
Click to show internal directories.
Click to hide internal directories.