Commit Graph

50 Commits

Author SHA1 Message Date
9dd678c214 internal rewrite to be more performant
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-01-22 00:46:07 +03:00
7365c5f1cd guard import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-26 22:55:51 +03:00
505c59ba75 fill request with header and cookie data
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-26 22:36:04 +03:00
06a0a2f336 update for latest micro, drop rutil usage
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-30 03:01:11 +03:00
c1e0ce26b5 add ability to register RPC endpoint
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-14 13:43:45 +03:00
c1526f70ce dont display unneded error message
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-06 19:10:54 +03:00
919bf1486f fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-13 12:11:54 +03:00
88ef21ba9e fix broker disconnect
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-05-13 10:59:38 +03:00
5ab606c2b5 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-27 19:10:35 +03:00
6c661c9d72
lint (#57)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-26 00:43:06 +03:00
a215521821 fieldalignment
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-25 12:09:09 +03:00
2660a0d94d update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-20 12:53:48 +03:00
145a0f4aa6 minor content-type fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-16 17:14:27 +03:00
bb763c71b5 add content type handlers
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-13 23:42:33 +03:00
622a79bd06 add path handler option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-13 11:33:03 +03:00
48620e6297 handle x-form-urlencoded content-type
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-31 00:50:02 +03:00
e93c6dc1de cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-24 15:22:20 +03:00
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
f28de46379 dont panic on nil ErrorHandler
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-01 20:25:09 +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
3ec25548a8 fully working micro http server implementation
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-05 18:31:51 +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
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
0f38ece000 use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-10 00:38:35 +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
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
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
a067b0b2e8 Add http server which implements go-micro.Server 2020-10-09 18:12:47 +03:00