can get a map of month to cost

doesnt concern itself with years yet...
This commit is contained in:
dm
2016-08-23 09:45:14 -07:00
parent 840db08294
commit e6e2f47134
2 changed files with 46 additions and 2 deletions
+4 -1
View File
@@ -24,7 +24,9 @@ func addRoutes(sm *http.ServeMux, server *Server, staticFiles string) {
"health": "/healthz",
"list": "/api/v0/list/",
"tranx": "/api/v0/tranx/",
"fake": "/fake/",
"cost": "/api/v0/costpermonth/",
"fake": "/fake/",
}
if staticFiles == "" {
@@ -76,5 +78,6 @@ func addRoutes(sm *http.ServeMux, server *Server, staticFiles string) {
sm.HandleFunc(prefix["health"], server.health)
sm.HandleFunc(prefix["list"], server.listUsers)
sm.HandleFunc(prefix["tranx"], server.tranx)
sm.HandleFunc(prefix["cost"], server.costPerMonth)
sm.HandleFunc(prefix["fake"], server.fakeSetup)
}