Adrien Marquès
|
acdba4121b
|
rename ambiguous variable
continuous-integration/drone/push Build is passing
Details
|
2020-03-09 19:12:26 +01:00 |
Adrien Marquès
|
6afedf190f
|
ref 1: clean server.go code + response implements http.Handler + add generic getter on request params Get() (interface{},error)
|
2019-05-05 19:01:54 +02:00 |
Adrien Marquès
|
0912e07f4f
|
fix: pass error arguments as values not array + set header after
WriteHeader()
|
2019-05-05 19:01:54 +02:00 |
Adrien Marquès
|
7a87288876
|
fix: rename 'WrapError' to 'SetError' + shadow response error + response implements Error()
|
2019-05-05 19:01:54 +02:00 |
Adrien Marquès
|
1e4476ced5
|
feat: rename 'Error.Put' to 'SetArguments' with n >= 1 arguments + move 'WrapError' to response
|
2019-05-05 19:01:54 +02:00 |
Adrien Marquès
|
b9f240b86b
|
feat: fix error creation to bind arguments directly + add optional error argument in NewResponse()
|
2019-05-05 19:01:54 +02:00 |
Adrien Marquès
|
4e25c647b2
|
feat: add status code in response
|
2019-05-01 16:40:26 +02:00 |
Adrien Marquès
|
cd2bcdd8bc
|
ref 0: first working version ; totest
|
2019-05-01 15:14:49 +02:00 |
Adrien Marquès
|
7e66b6ddd5
|
ref 0: big refactor of concerns between api request, server, etc
|
2019-05-01 13:44:45 +02:00 |
Adrien Marquès
|
049400e2be
|
rename 'response' to 'api'
|
2018-10-07 11:23:00 +02:00 |