google-app-engine-go

Are Cloud Endpoints with Go Google App Engine Standard possible?

馋奶兔 提交于 2020-01-05 04:25:09
问题 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

Change runtime from Python to Go in App Engine standard environment

瘦欲@ 提交于 2019-12-11 08:46:54
问题 I have a website on AppEngine that is 99% static. It is running on Python 2.7 runtime. Now the time has come to evolve this webapp, and since I have almost none Python code in it, I'd prefer to write it in Go instead. Can I change runtime from Python 2.7 to Go, while keeping the project intact? Specifically, I want to keep the same app-ID, the same custom domain attached to it, the same SSL certificate, and so on. What do I have to do in order to do that? I surely have to change runtime in

app engine go deploy failed

被刻印的时光 ゝ 提交于 2019-12-08 05:22:38
问题 It works well yesterday afternoon, but it does not work now. I use goapp deploy MY_DIR/app.yaml to deploy, and this is the message of deploy 02:38 PM Host: appengine.google.com 02:38 PM Application: MY_APP; module: MY_MOD; version: MY_VER 02:38 PM Starting update of app: exp-lkl, module: MY_MOD, version: MY_VER 02:38 PM Getting current resource limits. 02:38 PM Scanning files on local disk. 02:38 PM Scanned 500 files. 02:38 PM Scanned 1000 files. 02:38 PM Cloning 1085 application files. 02:38