Mainflux.mainflux/twins/api/http
Manuel Imperiale 9245e2593b
MF-1368 - Add internal http api package for query params reading (#1384)
* MF-1368 - Add internal http api package for query params reading

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix comments

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix comments

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Fix reviews

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Use internal/http and internalhttp alias

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Mv errors types to pkg

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Use httputil/query.go and remove aliases

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Add blank lines after error definitions

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Add ReadBoolValueQuery

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Mv readBoolValueQuery

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* User ErrNotFoundParam instead of pointer

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Revert ReadUintQuery to use default values

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>

* Use default values for all query readers

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2021-03-23 11:48:05 +01:00
..
doc.go MF-730 - Add digital twin service for things (#855) 2020-01-10 17:25:36 +01:00
endpoint.go Remove thing related code from twins service (#1169) 2020-05-07 17:26:34 +02:00
endpoint_states_test.go MF-1180 - Add redis based twins and states cache (#1184) 2020-06-05 11:42:16 +02:00
endpoint_twins_test.go MF-1180 - Add redis based twins and states cache (#1184) 2020-06-05 11:42:16 +02:00
requests.go MF-1180 - Add redis based twins and states cache (#1184) 2020-06-05 11:42:16 +02:00
responses.go Remove thing related code from twins service (#1169) 2020-05-07 17:26:34 +02:00
transport.go MF-1368 - Add internal http api package for query params reading (#1384) 2021-03-23 11:48:05 +01:00