Web Dashboard in GO

blov · · 738 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi everyone,</p> <p>I would like to know if there&#39;s a simple way to build a web dashboard in go. I&#39;d call multiple APIs to recover some informations and display them on a dashboard that could be displayed through a web browser. It could be interactive. For example, I&#39;d be possible to filter informations depending on a specified time range. The main problem for me is to display the data on a really basic web interface (for example, a 2D array). I have some difficulties doing that.</p> <p>Thanks in advance for your help/advice!</p> <hr/>**评论:**<br/><br/>tusharsingh: <pre><p>From the sounds of it the problem appears to be display. You could use d3js or polycharts to display charts and graphs.</p> <p>You could also stream the data with websockets if you wanted to have live updates. 1.8 also has http2 push support.</p></pre>HinglajMata: <pre><p>My workflow uses Go to pull backend data and then R with Shiny to build dashboards. Shiny builds awesome dashboards.</p></pre>shovelpost: <pre><blockquote> <p>then R with Shiny to build dashboards</p> </blockquote> <p>Shiny? As in exp/shiny?</p></pre>HinglajMata: <pre><p><a href="https://shiny.rstudio.com/gallery/" rel="nofollow">https://shiny.rstudio.com/gallery/</a></p></pre>sbinet: <pre><p>Alternatively, you could also use gonum/plot and its svg backend to display graphs (so most of the work is done server side, in Go). See for example: </p> <p><a href="https://github.com/sbinet/go-web-examples/tree/master/07-go-web-plot-gonum-svg" rel="nofollow">https://github.com/sbinet/go-web-examples/tree/master/07-go-web-plot-gonum-svg</a></p></pre>gallifreydweller: <pre><p>You might want to take a look at <a href="http://grafana.org/" rel="nofollow">Grafana</a> it does all this already and support a lot of common datasources out of the box or its reasonably trivial to write an endpoint as a <a href="https://grafana.net/plugins/grafana-simple-json-datasource/installation" rel="nofollow">simple JSON datasource</a> for it.</p> <p>And it&#39;s open source and written in go - <a href="https://github.com/grafana/grafana" rel="nofollow">https://github.com/grafana/grafana</a></p></pre>

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

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