Search code examples
google-app-enginegogoogle-cloud-endpointsgoogle-app-engine-go

Are Cloud Endpoints with Go Google App Engine Standard possible?


I have implemented a simple API in Go on Google App Engine Standard using just:

func init() {
    http.HandleFunc("/api/v1/resource",submitResource)
}

Nothing special. However I want to port this code to using Cloud Endpoints instead in order to get the better monitoring and diagnostics.

Is it even possible with STANDARD instances or must I move to FLEXIBLE?

I can't find any documentation on this. Nor answers to this seemingly simple question. At the moment I half wish I had chosen Python because its support seems more mature. I chose Go because it seems more appropriate for API-like code because my minimal research suggested Go offered better performance.

If it is possible, are there any pointers to how please?


Solution

  • After much research and trial and error, the simple answer is "No." - as of Dec 2016.

    The longer answer is it's possible if you want to put far too much effort into making up to date libraries of your own. There is basically no support, even in alpha, for the current Google Cloud Endpoints using Go with Google App Engine Standard.