Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

AWS Lambda Go functions using Serverless Framework and Python shim

License

Notifications You must be signed in to change notification settings

mrserverless/serverless-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Golang

Serverless Gopher

Gopher by @flemay, inspired by @ashleymcnamara and Renee French artworks.

Serverless Badge Go example projects.

Go Meetup Presentation: https://www.slideshare.net/yunspace/amazingly-simple-serverless-go

Performance

For AWS, we leverage eawsy's python based AWS Lambda Go Shim for superior performance compared to Node.js shims:

Benchmark

Features

  • seamless integration with AWS Lambda event sources or API Gateway HTTP requests.
  • use docker and docker-compose for easy testing with localstack (example coming soon) and ensure consistent dependencies across golang, python and serverless
  • docker builder image immutably baked in with:
    • amazon linux base image for building AWS Lambda
    • go 1.9.2
    • vendor support via glide, trash and dep
    • python 2.7
    • node 6
    • serverless 1.25.0

Usage

Prerequisites:

  • have serverless, go, make and docker
  • have correct $GOPATH and your new project must reside in $GOPATH/src/path/your-app

See each individual example for detailed instructions:

Clients

Currently used by amaysim Australia to build strategic Microservices across 4 business verticals.

RoadMap

  • kinesis example
  • graphql example
  • dynamodb example with localstack tests #13
  • event-gateway and FDK support #17
  • sls plugins example #21
  • Azure support #15
  • OpenWhisk