Google云端点是否可以使用Google App Engine标准? [英] Are Cloud Endpoints with Go Google App Engine Standard possible?

查看:156
本文介绍了Google云端点是否可以使用Google App Engine标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Google App Engine标准版的Go中实现了一个简单的API,只需使用以下代码:

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

没什么特别的。不过,我希望将此代码移植到使用云终端,以获得更好的监控和诊断。



甚至可以使用STANDARD实例,或者我必须移动到FLEXIBLE ?



我找不到这方面的任何文件。这个看似简单的问题也没有答案。目前我希望我选择了Python,因为它的支持似乎更加成熟。我选择了Go,因为它似乎更适合类API的代码,因为我最小的研究表明Go提供了更好的性能。



如果可能的话,请指出?经过大量研究和试验和错误之后,简单的答案是否。 - 截至2016年12月。



较长的答案是,如果您想花费太多精力来编辑自己的最新库,使用 Go 搭配Google App Engine 标准 ,基本上没有对当前 Google云端点的支持。 b $ b

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?

解决方案

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.

这篇关于Google云端点是否可以使用Google App Engine标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆