modulepackage
0.0.0-20151214170433-5acca4848aa3
Repository: https://github.com/exherb/dashing.git
Documentation: pkg.go.dev
# README
Dashing
This is a go version of http://dashing.io, but completly rewrited with golang and vuejs. By using webpack and vue-loader, as a designer or developer you could write a widget in single file and share it easily.
Demo
Install
go get -u github.com/exherb/dashing-cli
Usage
dashing-cli new dashboard
cd dashboard
npm install
npm run build
go run server.go
Deploy
TODO
Dashboards
Widgets
Getting Data Into Your Widgets
Jobs
API
curl -d '{"token": "{token}", ...}' http://dash.4leaf.me/dashboards/{dashboard_id}/widgets/{widget_id}
example
curl -d '{"token": "okiedokie", "color": "yellow"}' http://dash.4leaf.me/dashboards/*/widgets/sperm
if dashboard_id is '*', then the data will send to all dashboards
Todo
- widget token
- deploy document
- save history to database
- restore historical datas
- webgl demo
- video demo
- kinect demo
- fasthttp
# Packages
No description provided by the author
# Functions
Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
No description provided by the author
No description provided by the author
MustAsset is like Asset but panics when Asset would return an error.
No description provided by the author
No description provided by the author
Register a job to be kicked off upon starting the server.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
A Job does periodic work and sends events to a channel.