status-go/protocol/encryption
Shivek Khurana 1097b14a7f
🎭 📊 Anonymous Metrics V0 (#2170)
* Migrations in place, how to run them?

* Remove down migrations and touch database.go

* Database and Database Test package in place, added functions to get and store app metrics

* make generate output

* Minor bug fix on app metrics insert and select

* Add a validation layer to restrict what can be saved in the database

* Make validation more terse, throw error if schema doesn't exist, expose appmetrics service

* service updates

* Compute all errors before sending them out

* Trying to bring a closjure to appmetrics go

* Expose appmetrics via an api, skip fancy

* Address value as Jason Dawt Rawmasage to ease parsing

* Introduce a buffered chan with magic cap of 8 to minimize writes to DB. Tests for service and API. Also expose GetAppMetrics function.

* Lint issues

* Remove autoincrement, undo waku.json changes, fix error being shadowed, return nil where nil ought to be returned, get rid of buffered channel

* Bump migration number

* Fix API factory usage

* Add comment re:json.RawMessage instead of strings

* Get rid of test vars, throw save error inside the loop

* Update version

Co-authored-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2021-03-17 18:09:28 +05:30
..
migrations 🎭 📊 Anonymous Metrics V0 (#2170) 2021-03-17 18:09:28 +05:30
multidevice fix: close resultsets so we don't leak them (#1809) 2020-05-14 11:51:32 +01:00
publisher move contact code to subscription 2020-08-18 16:29:37 +02:00
sharedsecret Remove unnecessary logs & fix flaky test 2020-11-26 16:25:52 +01:00
encryption_multi_device_test.go move contact code to subscription 2020-08-18 16:29:37 +02:00
encryption_test.go Upgrade linter and address issues 2020-12-28 16:55:14 +01:00
encryptor.go Remove unnecessary logs & fix flaky test 2020-11-26 16:25:52 +01:00
persistence.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
persistence_keys_storage_test.go Move to monorepo structure (#1684) 2019-11-21 17:19:22 +01:00
persistence_test.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
protocol.go Remove unnecessary logs & fix flaky test 2020-11-26 16:25:52 +01:00
protocol_message.pb.go feat: add bookmarks table for the browser bookmarks 2020-11-16 13:31:34 -05:00
protocol_message.proto Move to monorepo structure (#1684) 2019-11-21 17:19:22 +01:00
protocol_test.go move contact code to subscription 2020-08-18 16:29:37 +02:00
x3dh.go Create a home submodule for Eth node bridges- Rename StatusBackend to GethStatusBackend 2019-11-27 17:02:09 +01:00
x3dh_test.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00