changed serialization logic to json strings, added batch compaction

This commit is contained in:
imw
2018-12-20 12:21:11 +01:00
parent 6cce8cb242
commit b4b687eeda
4 changed files with 66 additions and 20 deletions

View File

@@ -45,6 +45,9 @@ func parse(rw http.ResponseWriter, request *http.Request) {
}
j, err := json.Marshal(e)
if err != nil {
panic(err)
}
io.WriteString(rw, string(j))
}