diff --git a/server/server.go b/server/server.go
index 33a2536f3b6fd491604cea59dbde8099460d91cc..59c1e4215a468bea1a3a36813eafc97014bfac99 100644 (file)
--- a/server/server.go
+++ b/server/server.go
s.mux = map[string]handler{
"images": s.static,
"style": s.static,
+ "graph": s.graph,
}
return s, nil
}
var host sysdb.Host
err = proto.Unmarshal(m, &host)
res = host
+ case proto.Timeseries:
+ var ts sysdb.Timeseries
+ err = proto.Unmarshal(m, &ts)
+ res = ts
default:
return nil, fmt.Errorf("Unsupported data type %d", t)
}