slotix / serverless-golang

AWS Lambda Go functions using Serverless Framework and Python shim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless Golang

alt text

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

serverless Golang example projects.

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
    • vendor support via glide, trash and dep
    • python 2.7
    • node 6
    • serverless 1.22.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

About

AWS Lambda Go functions using Serverless Framework and Python shim

License:Other


Languages

Language:Go 95.5%Language:Makefile 4.5%