Added a primitive battery charge monitor.

This commit is contained in:
Hendrik van Wyk committed 2015-02-08 11:28:04 +02:00
1 parent e26aa12dce
commit 3cde999de9
4 files changed
+62 -6

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ func main() {
flag.Parse()
source := datasource.NewJSONSource(*url)
gui := webgui.NewWebGui(source, 10*time.Second)
gui := webgui.NewWebGui(source, 10*time.Second, 100)
http.Handle("/", gui)
log.Fatal(http.ListenAndServe(":8080", nil))
}