Commit Graph

43 Commits

Author SHA1 Message Date
7098c252dc allow to publish only body
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-06-11 15:21:36 +03:00
3cbc879769 fix stream timeout
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-29 22:38:38 +03:00
05add422d1
lint fixes (#25)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-25 16:26:36 +03:00
8de7912a91 detect response content-type
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-18 15:45:42 +03:00
6ccb40bab0 minor content-type fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-16 17:09:29 +03:00
2b16a8a7a6 allow to set content type with charset
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-10 12:46:34 +03:00
68b32989fc allow to override content-type
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-09 23:12:25 +03:00
9150958044 fix x-www-form-urlencoded requests
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-03 11:55:22 +03:00
5cdd48329e metadata.FromContext => metadata.FromOutgoingContext
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-31 10:43:38 +03:00
4bbf97a309 add minor dev comment
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-26 15:52:52 +03:00
02f29b0ef3 fix tls issues
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-26 15:48:57 +03:00
1787f44c54 cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-24 15:49:20 +03:00
1bbdf03f60 add aditional check for nil message passed
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-24 10:44:53 +03:00
fd1acd56cb add tag support
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-23 00:29:27 +03:00
573c1f50e2 rewrite query param and not marshal empty struct
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-21 17:44:48 +03:00
4237630f98 export DefaultContentType
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-06 18:54:18 +03:00
b216aa3509 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 15:11:04 +03:00
a1a3daa799 handle timeout errors
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 22:55:24 +03:00
d611a6aed5 initial support for path param
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 04:12:31 +03:00
7a29127d17 update micro to v3.1.1
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 01:58:43 +03:00
59d77f7b8c use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:48:10 +03:00
280d3a64c9 update go-micro and fix client/selector usage
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:47:03 +03:00
Asim Aslam
8dd4be1d52 replace config/cmd with cmd 2021-01-10 14:47:03 +03:00
b82816f2e9 fix import path for v2 release (#457)
* fix import path for v2 release

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:47:03 +03:00
Asim Aslam
ce4c0458bc add the various updates for proxy in http client/server 2021-01-10 14:47:03 +03:00
Asim Aslam
da340f01bc go fmt 2021-01-10 14:47:03 +03:00
Asim Aslam
55068d7bf9 move transport back 2021-01-10 14:47:03 +03:00
Asim Aslam
aa101624c2 Fix breaks related to removing node.port 2021-01-10 14:47:03 +03:00
Asim Aslam
214a98c3d2 Switch to broker.Event 2021-01-10 14:47:03 +03:00
Asim Aslam
09989a041d Move transport to network/transport 2021-01-10 14:47:03 +03:00
7016240bbb cleanup go.mod (#365)
* fix all tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:47:03 +03:00
Asim Aslam
1caae543af Go fmt and update go mod 2021-01-10 14:47:03 +03:00
Asim Aslam
be4e0bddee Move selector to client/selector 2021-01-10 14:47:03 +03:00
Asim Aslam
56e0b8a06e Update the location of data and cmd 2021-01-10 14:47:03 +03:00
Asim Aslam
04b4656653 Fix breaks 2021-01-10 14:47:03 +03:00
Asim Aslam
d0adceec59 update breaks 2021-01-10 14:47:03 +03:00
Asim Aslam
b8105ba4d1 fix clients 2021-01-10 14:47:03 +03:00
Asim Aslam
38ada730bb message options 2021-01-10 14:47:03 +03:00
Asim Aslam
7e872d1275 support request content type and call address 2021-01-10 14:47:03 +03:00
Asim Aslam
3d3d9bb1e7 add for breaking changes in go-micro 2021-01-10 14:47:02 +03:00
Asim Aslam
4a8855f478 switch to stdlib context 2021-01-10 14:47:02 +03:00
Asim Aslam
bbba7ba4eb Add package comments 2021-01-10 14:47:02 +03:00
Asim Aslam
0f3fd4b1f9 add a http client 2021-01-10 14:47:02 +03:00