mrserverless / serverless-golang

AWS Lambda Go functions using Serverless Framework and Python shim
Other
302 stars 21 forks source link

Replace the custom event with eawsy/aws-lambda-go-net #3

Closed cristim closed 7 years ago

cristim commented 7 years ago

The PR contains the following changes:

mrserverless commented 7 years ago

Hi sorry didn't get notification for this PR for some reason. Will take a look at merge!

mrserverless commented 7 years ago

@cristim thanks for the PR, very comprehensive. My initial thought is that we should probably keep both aws-lambda-go-shim and aws-lambda-go-net in parallel.

For example, in my use case I'm actually using Kinesis directly as an event source, so I don't sit behind a API Gateway. Thus I don't I need HTTP support nor custom headers. So the standard go-shim will work fine for my case. Where as for #2 it would make sense to use go-net

I will make some slight modifications if you don't mind and merge this in.

cristim commented 7 years ago

Sure, feel free to change it

cristim commented 7 years ago

@yunspace I think it would be better to have multiple examples included as part of a single serverless project, each built with its own event source and based on its respective library.

What do you think?

mrserverless commented 7 years ago

@cristim yes I feel that's exactly what we need. I've created a lambda-go-shim branch for now and will rebase your PR into master. Tomorrow I will look at splitting out the 2 examples.