serverless-golang icon indicating copy to clipboard operation
serverless-golang copied to clipboard

Add support for Google Cloud Functions

Open mrserverless opened this issue 7 years ago • 6 comments

Similar to https://github.com/serverless/examples/tree/master/google-node-simple-http-endpoint

mrserverless avatar Jul 01 '17 10:07 mrserverless

are you open to some help with this?

kmarquardsen avatar Aug 28 '17 17:08 kmarquardsen

Hi @kmarquardsen yes please. I have done some preliminary research reading through https://github.com/GoogleCloudPlatform/cloud-functions-go but haven't had a chance to dig deeper. If you could assist that would be great!

mrserverless avatar Aug 29 '17 01:08 mrserverless

however, as discussed via email, I'm a bit reluctant to priortise GCF at this point due to:

  1. they only support one geographical region in Iowa (us-central1)
  2. doesn't seem to have similar features as API Gateway to expose their functions.

mrserverless avatar Sep 03 '17 04:09 mrserverless

agreed, lower priority based on our chat.

kmarquardsen avatar Sep 03 '17 04:09 kmarquardsen

Hi guys, I already created a supporting CLI for golang GCF here https://github.com/flowup/cloudfunc . There will be one BC break in next week as I will need to expose more than just a body that was received (query params, method, etc).

I am definitely open to helping with integration of golang GCF into serverless.

petomalina avatar Sep 12 '17 16:09 petomalina

thanks @gelidus just curious what are your thoughts on cloud-functions-go. I haven't looked deeper into it but at first glance I'm more leaning towards it's native approach instead of using a node shim.

mrserverless avatar Sep 13 '17 06:09 mrserverless