Skip to content

abklabs/aws-lambda-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda Resource

Helps form restful resource endpoints for AWS API Gateway + Lambda.

package main

import (
  "github.com/aws/aws-lambda-go/events"
  "github.com/aws/aws-lambda-go/lambda"
  "github.com/espinola-designs/aws-lambda-resource"
)

func main() {
  users := resource.New() 

  users.Create(func(_ events.APIGatewayProxyRequest) (resource.GatewayRespoonse, error) {})

  users.Get(func(_ events.APIGatewayProxyRequest) (resource.GatewayRespoonse, error) {})

  lambda.Start(users)
}

About

Helps form restful resources for AWS Api Gateway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages