Actually use rate limited storage, add /version with -dirty

This commit is contained in:
breel
2020-07-30 16:20:51 -06:00
parent 5a383a1e71
commit 21fa963085
14 changed files with 98 additions and 31 deletions

View File

@@ -7,10 +7,13 @@ import (
"log"
)
var GitCommit string
func main() {
c := config.New()
log.Println(c)
g := storage.NewGraph()
g := storage.NewRateLimitedGraph()
view.GitCommit = GitCommit
if err := view.JSON(g); err != nil {
panic(err)
}