mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-24 13:48:49 +08:00

* refactore(reader/influxdb): explicit check event + add safe conversion Signed-off-by: tzzed <zerouali.t@gmail.com> * apply review suggestion Signed-off-by: tzzed <zerouali.t@gmail.com> * Delete useless space. Signed-off-by: tzzed <zerouali.t@gmail.com> * apply review suggestion Signed-off-by: tzzed <zerouali.t@gmail.com> * apply review suggestion, replace require.NoError(t, err) by assert.Nil Signed-off-by: tzzed <zerouali.t@gmail.com> * Fix tests when message time is randomly equal to 0 in tests cases. Signed-off-by: tzzed <zerouali.t@gmail.com> * apply review suggestion use constant Signed-off-by: tzzed <zerouali.t@gmail.com> * use const offset Signed-off-by: tzzed <zerouali.t@gmail.com> Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
Readers
Readers provide an implementation of various message readers
.
Message readers are services that consume normalized (in SenML
format)
Mainflux messages from data storage and opens HTTP API for message consumption.
For an in-depth explanation of the usage of reader
, as well as thorough
understanding of Mainflux, please check out the official documentation.