You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to execute my Go application within a lambda. I am using a fiber adapter, and when I try to invoke any of the endpoints from the API GATEWAY, I constantly receive an internal server error.
usually my endpoint looks like "/components/:id"
Does the fiber adapter just support endpoints without route parameters?
Below is the code I have in lambda
`var fl *fiberLambda.FiberLambda
func init() {
// create a new fiber instance
app := fiber.New()
I'm attempting to execute my Go application within a lambda. I am using a fiber adapter, and when I try to invoke any of the endpoints from the API GATEWAY, I constantly receive an internal server error.
usually my endpoint looks like "/components/:id"
Does the fiber adapter just support endpoints without route parameters?
Below is the code I have in lambda
`var fl *fiberLambda.FiberLambda
func init() {
// create a new fiber instance
app := fiber.New()
}
func handler(ctx context.Context, request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) {
return fl.ProxyWithContext(ctx, request)
}
func main() {
lambda.Start(handler)
}`
The text was updated successfully, but these errors were encountered: