letian
|
754d83ea9d
|
add test for HandleHeader (#1467)
|
2021-09-13 10:57:08 +08:00 |
|
longxboy
|
20f0a07d36
|
Feat: add load balancer (#1437)
* add balancer
* add p2c balancer
* add http client selector filter
Co-authored-by: yuemoxi <99347745@qq.com>
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
|
2021-09-12 15:14:21 +08:00 |
|
seasrain
|
798adbff5e
|
fix:http rehister url lack / (#1464)
* fix: set strictSlash true
|
2021-09-12 00:45:22 +08:00 |
|
seasrain
|
8b1086ad56
|
fix: optimizate with context (#1460)
* fix: optimizate with context
|
2021-09-10 21:44:41 +08:00 |
|
letian
|
4bdafa6393
|
feat: add http header handler (#1461)
|
2021-09-10 17:57:07 +08:00 |
|
Tony Chen
|
aed6af7acc
|
fix http server handler (#1456)
|
2021-09-09 23:12:48 +08:00 |
|
Kagaya
|
736fb38e79
|
fix: examples lint error (#1454)
* fix example lint error
* use latest version lint
* ignore zap Sync error
|
2021-09-09 20:45:08 +08:00 |
|
letian
|
fa54a1dd3a
|
feat: Support custom status code conversion from HTTP and gRPC. (#1410)
* feat: Support custom status code conversion from HTTP and gRPC.
Co-authored-by: Letian Yi <yiletian@webull.com>
|
2021-09-05 23:25:33 +08:00 |
|
Casper-Mars
|
515b71ec90
|
test(transport/http):fix nil problem (#1406)
|
2021-09-01 16:02:30 +08:00 |
|
Kagaya
|
f7588a47de
|
fix: ci lint error (#1391)
* fix lint check
* fix lll lint error
* fix build error
* fix gomnd
* fix shadow declaration
* add make test command
* update
|
2021-08-31 10:14:57 +08:00 |
|
Xudong Cai
|
b44e47b087
|
refactor: optimize the code and use golangci-lint to check for any errors (#1298)
* feat: optimize the code and use golangci-lint to check for any errors
* fix: TestLogger unit test
|
2021-08-16 10:35:08 +08:00 |
|
Windfarer
|
a128566cef
|
test(transport) add test (#1325)
* test
* test client and server
* return
* add args
* calloption
* test
|
2021-08-12 19:21:50 +08:00 |
|
Windfarer
|
f93084ba9f
|
test: option tests (#1292)
* test options
* more tests
|
2021-08-02 18:56:22 +08:00 |
|
Tony Chen
|
bc35f20228
|
feat(endpoint): add endpoint parser (#1273)
* feat(endpoint): add endpoint parser
* fix parseTarget ut
* fix insecure testing
|
2021-07-29 10:11:38 +08:00 |
|
zwhyb
|
8f4e78b47d
|
grpc‘s secure discovery (#1270)
* add gprc secure discovery
* add http insecure filter
|
2021-07-28 23:10:02 +08:00 |
|
Tony Chen
|
5ca42fe921
|
feat(transport): add transport tls config (#1267)
* add http tls config
* add grpc tls config
* add examples tls
* fix resolver parseTarget
* support https for discovery
* add isSecure
* clean code
Co-authored-by: longXboy <longxboyhi@gmail.com>
Co-authored-by: 包子 <baozhecheng@foxmail.com>
|
2021-07-28 13:36:15 +08:00 |
|
wz
|
ce0cba4f41
|
fix(transport/http): typo (#1268)
Co-authored-by: 王真 <zhen.wang@yo-star.com>
|
2021-07-28 13:05:58 +08:00 |
|
Tony Chen
|
7773d15256
|
fix(grpc/resolver): fix builder context (#1258)
* fix grpc resovler ctx
* fix client close
* upgrade etcd to v3.5.0
* clean code
|
2021-07-26 23:44:41 +08:00 |
|
xianmian168
|
05c44d9033
|
repair some misspelling (#1248)
* Update calloption.go
* Update random.go
repair misspelling
|
2021-07-25 22:05:14 +08:00 |
|
喵喵大人
|
d09ba5e3ee
|
style: add gosimple linter and gofmt linter (#1242)
|
2021-07-25 12:09:38 +08:00 |
|
longxboy
|
dca963a236
|
fix http resovler bug (#1231)
* fix http resovler bug
* delete unused code
|
2021-07-23 22:42:52 +08:00 |
|
longxboy
|
a02d9b4192
|
add zero endpoint protection (#1215)
* add zero endpoint protection
|
2021-07-20 13:36:19 +08:00 |
|
longxboy
|
4e529d1e30
|
add router group for http server (#1208)
|
2021-07-18 20:12:20 +08:00 |
|
longXboy
|
078ca6bc9b
|
add sub router for http
|
2021-07-18 19:30:39 +08:00 |
|
包子
|
5f678de2cc
|
fix(transport/http): fixed the problem of getting empty node list (#1206)
* fix(transport/http): fixed the problem of getting empty node list
* fix http blocking
Co-authored-by: longXboy <longxboyhi@gmail.com>
|
2021-07-18 07:46:03 +08:00 |
|
opensite
|
f27047c05b
|
style(transport): remove duplicate get path code (#1188)
transport/http remove duplicate get path code for filter
|
2021-07-14 21:52:44 +08:00 |
|
喵喵大人
|
4780b6e1fd
|
ci(github action): use golangci-lint to replace the deprecated golint (#1175)
* ci: use golangci-lint to replace the deprecated golint
Co-authored-by: ymh199478 <yumenghan@bilibili.com>
|
2021-07-12 18:09:38 +08:00 |
|
longxboy
|
23a7f15541
|
add form for codec (#1158)
* add form for http codec
|
2021-07-08 13:05:21 +08:00 |
|
Tony Chen
|
81f96ee74d
|
fix(http): fix error encoder (#1141)
* fix error encoder
|
2021-07-03 15:22:13 +08:00 |
|
dachang
|
e45caab322
|
http stop should use ctx (#1131)
|
2021-06-30 18:01:56 +08:00 |
|
Tony Chen
|
d4d6925cd0
|
cmd/protoc-gen-go-http: fix http protoc to bind query_string (#1126)
* fix http protoc to bind query_string
Co-authored-by: longXboy <longxboyhi@gmail.com>
|
2021-06-30 14:13:28 +08:00 |
|
longxboy
|
545ffd1084
|
add response header (#1119)
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
|
2021-06-29 15:33:18 +08:00 |
|
longxboy
|
87eb5ed5c0
|
add http ip port support (#1115)
* add http ip port support
* fix example
|
2021-06-28 10:20:48 +08:00 |
|
longxboy
|
953c91d354
|
keep balancer nodes (#1110)
|
2021-06-25 18:18:57 +08:00 |
|
Tony Chen
|
59f54b2661
|
Revert/root ctx v2 (#1088)
* Revert "remove app info (#1081)"
This reverts commit 1dab58616b5bfee9bb78abe192d45f44c2f53c43.
* add http base ctx
Co-authored-by: longXboy <longxboyhi@gmail.com>
|
2021-06-20 23:00:27 +08:00 |
|
Tony Chen
|
30334dc47c
|
transport/http: rename route to router (#1082)
* rename route to router
|
2021-06-19 16:02:07 +08:00 |
|
Tony Chen
|
1dab58616b
|
remove app info (#1081)
|
2021-06-19 15:40:28 +08:00 |
|
Tony Chen
|
e5e7832306
|
fix cors filter (#1080)
|
2021-06-19 09:53:34 +08:00 |
|
longxboy
|
8baa2ede4b
|
add path pattern for http (#1076)
* add path pattern for http
|
2021-06-17 17:34:27 +08:00 |
|
longxboy
|
25c8e2bd3b
|
fix wrapper seq (#1073)
|
2021-06-17 10:50:33 +08:00 |
|
Tony Chen
|
16b1da04e0
|
transport/http: fix content type (#1070)
* fix content type
|
2021-06-17 10:26:31 +08:00 |
|
longxboy
|
db02034dd1
|
fix error decode (#1068)
* fix error decode
|
2021-06-16 19:54:19 +08:00 |
|
longxboy
|
60b1e593f1
|
add http transport (#1060)
* add http transport
* delete method and path
|
2021-06-15 11:40:41 +08:00 |
|
Tony Chen
|
7f72b72ddb
|
fix endpoint extract (#1061)
|
2021-06-15 11:39:28 +08:00 |
|
Tony Chen
|
6ee0607f03
|
transport: add transport kind (#1059)
* add transport kind
|
2021-06-15 11:05:13 +08:00 |
|
Windfarer
|
0ff1c6f89a
|
test http (#1045)
* test http
* fix response codec
* benchmark
|
2021-06-14 12:25:15 +08:00 |
|
Tony Chen
|
8d8cd8c8a8
|
Middleware/metadata v2 (#1050)
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
|
2021-06-14 00:59:07 +08:00 |
|
Tony Chen
|
2729caeecf
|
http/binding: rename encode url (#1039)
* rename binding url
|
2021-06-13 00:56:01 +08:00 |
|
Tony Chen
|
eca0f35cb5
|
transport/http: add vars to http context (#1037)
* add vars to http context
* add query to http context
* remove http deps
* clean request decoder
|
2021-06-12 22:21:54 +08:00 |
|
Tony Chen
|
1b13abd136
|
transport/http: add http route (#1029)
* add http route
* fix http context
* add HTTP middleware
Co-authored-by: longXboy <longxboyhi@gmail.com>
|
2021-06-12 18:30:17 +08:00 |
|