Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why isn't Cloud Endpoints for Golang in GAE Standard Environment?

Hey does anyone know why Google Cloud Endpoints for Go-lang isn't in the standard environment on Google App Engine? It's only seemed to be officially supported/documented for Python / Java.

Is it because

A) Cloud Endpoints is coming to Golang soon / someday.

B) Cloud Endpoints isn't so great, so it's not going to be implemented in Golang.

C) Something else.

There's this "non-standard" lib https://github.com/GoogleCloudPlatform/go-endpoints but it hasn't been updated in 9 months.

I'm trying to choose between Python and Golang for a GAE project, and this lack of support for Cloud Endpoints is giving me pause.

Thanks in advance.

like image 387
Quang Van Avatar asked Mar 12 '17 15:03

Quang Van


People also ask

What is Cloud Endpoints in Gcp?

Endpoints is an API management system that helps you secure, monitor, analyze, and set quotas on your APIs using the same infrastructure Google uses for its own APIs.

What is endpoint in Gke?

The master endpoint is the IP address for the Kubernetes master node. Note: The correct (better) command to obtain the public endpoint: gcloud container clusters describe [CLUSTER-NAME] \ --zone=[ZONE] | --region=[REGION] \ --format="get(privateClusterConfig.publicEndpoint)"


1 Answers

Product manager Dan Ciruli answered this on the google-appengine-go mailing list :

There are two primary reasons, and the second is a byproduct of the first. We've had much less uptake on the Endpoints Go framework -- perhaps because, in the words of a developer I spoke to, "Go just isn't a 'framework' language." Unlike, Java, Python (and, say, Node), most developers using Go don't use a framework for writing an API backend.

And, at least partially because of that, we aren't staffed on the Endpoints team to build and support a framework in Go.

He added:

All hope is not lost. You can put a Go API behind Endpoints today on GAE Flex or Container Engine (without framework) using the Extensible Server Proxy. And later this year, we should be able to get the ESP deployed in GAE standard environment, you'll get the full power there, too.

like image 112
Zoyd Avatar answered Nov 15 '22 09:11

Zoyd