Commit Graph

280 Commits

Author SHA1 Message Date
39e6d9f586 fixes with ErrorHandler and passed *http.Server
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-09 23:54:46 +03:00
a46c9d395a fix for multiple server registration
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-09 14:20:08 +03:00
Renovate Bot
d3c5a503c6 Update module github.com/unistack-org/micro/v3 to v3.2.20 2021-03-06 23:25:58 +00:00
Renovate Bot
be224692a4 Update module github.com/unistack-org/micro/v3 to v3.2.18 2021-03-06 19:32:16 +00:00
Renovate Bot
0da73b62ae Update module github.com/unistack-org/micro/v3 to v3.2.17 2021-03-05 17:17:15 +00:00
Renovate Bot
a30c2972fd Update module github.com/unistack-org/micro/v3 to v3.2.16 2021-03-04 12:21:58 +00:00
f28de46379 dont panic on nil ErrorHandler
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-01 20:25:09 +03:00
af91220a09 fix metadata
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-01 20:25:09 +03:00
Renovate Bot
14bf4a9f30 Update module github.com/unistack-org/micro/v3 to v3.2.15 2021-03-01 13:06:52 +00:00
e88f524042 fix handler context metadata passing
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-01 13:02:35 +03:00
45670661d0 write all passed header in response
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-01 11:35:27 +03:00
Renovate Bot
f7ed037633 Update golang.org/x/net commit hash to e18ecbb 2021-02-26 21:33:25 +00:00
Renovate Bot
8f36e1753a Update golang.org/x/net commit hash to 39120d0 2021-02-26 12:26:48 +00:00
0a59653c70 allow to set any message as error
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-25 14:17:20 +03:00
Renovate Bot
cf9d05d4f7 Update golang.org/x/net commit hash to 3d97a24 2021-02-24 10:54:50 +00:00
Renovate Bot
6b6d4eb74b Update golang.org/x/net commit hash to 9060382 2021-02-22 21:50:10 +00:00
Renovate Bot
db28bbb977 Update golang.org/x/net commit hash to 5f55cee 2021-02-20 06:23:49 +00:00
Renovate Bot
6819026d7c Update module unistack-org/micro/v3 to v3.2.14 2021-02-18 18:42:53 +00:00
4ade934d26 update workflows
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-18 18:42:38 +03:00
Renovate Bot
d9adfebaf3 Update module unistack-org/micro/v3 to v3.2.11 2021-02-12 15:50:30 +00:00
Renovate Bot
0ff8939a0d Update module unistack-org/micro/v3 to v3.2.9 2021-02-12 12:39:59 +00:00
495e98c3c4 update renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-12 12:36:58 +03:00
5adaa78c36 move renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-10 13:16:28 +03:00
renovate[bot]
7b83fc7007
Update golangci/golangci-lint-action action to v2 (#9)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 09:23:53 +03:00
renovate[bot]
dcd50c6fa8
Update actions/setup-go action to v2 (#8)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 23:03:33 +03:00
renovate[bot]
9d028175f4
Update golang.org/x/net commit hash to 5f4716e (#7)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 23:02:00 +03:00
renovate[bot]
a5d7a69d25
Add renovate.json (#6)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 23:00:12 +03:00
c0d9c34200 allow to have custom http.Server struct
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-07 19:03:38 +03:00
dc1e05bb18 allow to use http middlewares
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-07 13:27:28 +03:00
1e4d56d059 fix body parsing
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-06 18:53:25 +03:00
6565336c1a utilize native merging for map and struct without json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-06 18:16:29 +03:00
3ec25548a8 fully working micro http server implementation
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-05 18:31:51 +03:00
74d8cb8538 add helper options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-02 16:13:39 +03:00
7e46d86253 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 14:32:32 +03:00
4e2f984088 update micro to v3.1.1
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 00:28:10 +03:00
6ecfe94e7b add tls.Config and allow passing created listener
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-15 11:54:15 +03:00
62e40d4119 fix panic
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-14 14:21:04 +03:00
41bf69e97c fix logging
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-14 14:18:54 +03:00
54ee918b27 codec rewrite
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-26 01:20:45 +03:00
86061569b2 update codec interface
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-25 23:44:32 +03:00
3fc7db17c3 update metadata
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-18 13:08:50 +03:00
7d3dc63ae4 fix logger usage
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-05 01:55:38 +03:00
860a1929f4 fix for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-03 02:06:53 +03:00
e20ed5dc32 fix sub ctx
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-16 16:46:39 +03:00
74b29ac236 fixup for never micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-16 16:20:35 +03:00
3c26142d45 tmp panic fix
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-13 15:02:32 +03:00
9212ccb2ec add missing files
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-10 00:39:35 +03:00
0f38ece000 use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-10 00:38:35 +03:00
7b78210ef5 go.mod per package (#450)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-09 18:14:43 +03:00
Asim Aslam
4fe1822679 add the various updates for proxy in http client/server 2020-10-09 18:14:38 +03:00