golang with firebase

agolangf · · 820 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I tried firebase REST API with zabawaba99/firego and JustinTulloss/firebase without success, either not clear what to do, or getting dependencies errors. Are there any simple examples how to use firebase rest api with Go ?</p> <hr/>**评论:**<br/><br/>Morgahl: <pre><p>My work spent quite a bit of time working on firebase in Go and the libraries available just are not that strong to be honest. Any major Firebase work we do is in Node.js these days.</p> <p>I had begun a conversion of the v5 websocket API from their Node.js Admin SDK but the work was too much for the 70+ hour workweeks I&#39;ve been doing the last 2 years.</p></pre>niuk007: <pre><p>Right I looked at nodejs and it looks much better</p></pre>MistakenForYeti: <pre><p>There&#39;s a basic &#39;tictactoe&#39; example available in GCP&#39;s golang-samples: <a href="https://github.com/GoogleCloudPlatform/golang-samples/tree/master/docs/appengine/firebase/tictactoe" rel="nofollow">https://github.com/GoogleCloudPlatform/golang-samples/tree/master/docs/appengine/firebase/tictactoe</a></p> <p>I found the game itself didn&#39;t work 100% but the example for custom auth JWT and basic firego usage was enough to get me started.</p></pre>janderssen: <pre><p>I use <a href="https://github.com/NaySoftware/go-fcm" rel="nofollow">https://github.com/NaySoftware/go-fcm</a> personally and find it works fantastic for my requirements.</p></pre>niuk007: <pre><p>Oh I really like that one. How do I get FCM token or server key ? nvmd, I just found it ;) How I can see message stored in Firebase ? Got response like this: Status Code : 200 Success : 0 Fail : 0 Canonical_ids : 0 Topic MsgId : 5...8 Topic Err :</p></pre>niuk007: <pre><p>I finally figured this out, go-fcm is perfect for I want to do , much appreciate</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

820 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传