From 1daed6260bd194c5da1e8497a896d2ab343879a8 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Thu, 3 Apr 2014 14:51:42 -0500 Subject: [PATCH] updated comments on set_bits --- core/http.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/http.go b/core/http.go index 4dba2179d..adce869bb 100644 --- a/core/http.go +++ b/core/http.go @@ -174,8 +174,11 @@ func (self *WebService) HandleQuery(w http.ResponseWriter, r *http.Request) { type JsonObject map[string]interface{} // post this json to the body -//[{ "db": "3", "frame":"brand.n","profile_id": 122,"filter":0, "bitmap_id":123}, -// { "db": "3", "frame":"brand.n","profile_id": 122,"filter":2, "bitmap_id":124}]' +//the frame type with extension ".t" are handled a bit differnt +// it generats the timestamp based bitmap_ids +//[{ "db": "3", "frame":"b.n","profile_id": 122,"filter":0, "bitmap_id":123}, +// { "db": "3", "frame":"b.n","profile_id": 122,"filter":2, "bitmap_id":124}, +// { "db": "3", "frame":"t.t","profile_id": 122,"filter":2, "bitmap_id":124, "timestamp":"2014-04-03 13:01:04"}]' // func bitmaps(frame string, obj JsonObject) chan uint64 { c := make(chan uint64)