Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
Start is a convenience function that creates a Lambda handler from the router and starts it.
func ToLambdaHandler ¶
func ToLambdaHandler(r *gotrpc.Router) func(ctx context.Context, req events.APIGatewayV2HTTPRequest) (events.APIGatewayV2HTTPResponse, error)
ToLambdaHandler converts a *gotrpc.Router into an AWS Lambda handler function compatible with Lambda Function URLs and API Gateway v2 (HTTP API). Note: API Gateway v1 (REST API) is not supported — use v2 or Function URLs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.