• This repository has been archived on 12/Jan/2023
  • Stars
    star
    302
  • Rank 138,030 (Top 3 %)
  • Language
    Go
  • License
    Other
  • Created almost 8 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AWS Lambda Go functions using Serverless Framework and Python shim

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