modulepackage
0.0.0-20170323000013-8344e3bf4644
Repository: https://github.com/akagi201/rtclock.git
Documentation: pkg.go.dev
# README
rtclock
An HTML5 Real Time Clock based on WebSocket
Features
- Use WebSocket to send backend real time clock to frontend.
- Support go-bindata.
Install
go get github.com/Akagi201/rtclock
Build
./gobin.sh
(when you modified the html template)go build
Run
./rtclock -h
- Simple usage:
./rtclock
# 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.
MustAsset is like Asset but panics when Asset would return an error.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.