Commit Graph

51 Commits

Author SHA1 Message Date
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
Asim Aslam
03948ae35b Fix breaks related to removing node.port 2020-10-09 18:14:38 +03:00
Asim Aslam
3d62ef5819 Switch to broker.Event 2020-10-09 18:14:38 +03:00
Asim Aslam
39649b39ef change util links 2020-10-09 18:14:19 +03:00
xinfei.wu
f07f7ac0d6 fix: Broker's port is not registered.
Connecting to broker before registering.
2020-10-09 18:12:47 +03:00
xinfei.wu
b8a7b08984 handle RegisterInterval option 2020-10-09 18:12:47 +03:00
Asim Aslam
00b9b850c6 register and deregister 2020-10-09 18:12:47 +03:00
Asim Aslam
88911744b5 fix failing build 2020-10-09 18:12:47 +03:00
Asim Aslam
01b4b35505 rename mock to memory registry 2020-10-09 18:12:47 +03:00
Asim Aslam
1e387557a4 update breaks 2020-10-09 18:12:47 +03:00
xinfei.wu
39f61e9626 remove subscriber testing 2020-10-09 18:12:47 +03:00
xinfei.wu
eeb05bc929 clean test code 2020-10-09 18:12:47 +03:00
xinfei.wu
11a198d2e9 add broker and registry to metedata 2020-10-09 18:12:47 +03:00
xinfei.wu
60d75699e4 fix test 2020-10-09 18:12:47 +03:00
xinfei.wu
0374a2de2c add subscriber testing 2020-10-09 18:12:47 +03:00
xinfei.wu
b7e57d6192 fix: connect and disconnect broker 2020-10-09 18:12:47 +03:00
武新飞
532edc786f fix: allow subscribers to register and deregister multi times. 2020-10-09 18:12:47 +03:00
武新飞
3f5cbf2bcd fix: Deregister subscribers 2020-10-09 18:12:47 +03:00
武新飞
7968395d51 fix: initialize broker and subscribers 2020-10-09 18:12:47 +03:00
武新飞
921f832670 rename 2020-10-09 18:12:47 +03:00
武新飞
3c3b81d9cd http server supports subscriber 2020-10-09 18:12:47 +03:00
miaolz123
24f8e6b137 feat: add http server log 2020-10-09 18:12:47 +03:00
Asim Aslam
6184752b27 misc moved to util 2020-10-09 18:12:47 +03:00
Peter Theophanous
4ae0225b6e move duplicated extractAddress func to micro/misc/lib/addr 2020-10-09 18:12:47 +03:00
Asim Aslam
15b1e4ca0a switch to stdlib context 2020-10-09 18:12:47 +03:00
Asim Aslam
e00d88928b Fix vetting code 2020-10-09 18:12:47 +03:00
Asim Aslam
2327e1d4e8 Set endpoint metadata in the http server 2020-10-09 18:12:47 +03:00
Asim
31f1702ab2 Add http server to cmd servers 2020-10-09 18:12:47 +03:00
Asim
216d14971f Fix readme tabs 2020-10-09 18:12:47 +03:00
Asim
a8351bb18a Fix readme tabs 2020-10-09 18:12:47 +03:00