jesse.tang
9737a3c5e4
fix: typo and grammatical errors ( #2368 )
...
* fix: grammar
* fix: grammar
* fix overrode
* translate to English
* translate to English
2022-09-19 10:39:54 +08:00
hshe
e176ddfcdd
feat(internal/host): prefer ipv4 than ipv6 ( #2342 )
...
* feat:prefer ipv4 than ipv6
* feat:prefer ipv4 than ipv6
* feat:prefer ipv4 than ipv6
* feat:prefer ipv4 than ipv6
2022-09-07 11:43:55 +08:00
icylight
cbfb6db9cf
fix(internal/host): Extract can't return the minium index ip ( #2298 )
...
* fix(internal/host): Extract can't return the minium index ip
* rollback
* fix index
2022-08-31 21:35:59 +08:00
haiyux
39796ea0dc
fix: delete endpoint service discovery compatibility ( #2289 )
...
* fix: delete endpoint package endpoint
* fix lint
2022-08-17 14:31:37 +08:00
Tony Chen
f3b0da3f04
feat(middleware): add selector matcher ( #2239 )
...
* feat(middleware): add selector matcher
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2022-07-27 13:05:45 +08:00
shengzhou
ede5f889d4
test: increase endpoint,env, options and reader tests coverage. ( #2192 )
...
* test(config/file): add format test (#2147 )
* test(internal/endpoint): increase endpoint tests coverage.(#2147 )
* test(config/env): increase env tests coverage.(#2147 )
* test(config/options): increase options tests coverage.(#2147 )
* test(config/reader): increase reader tests coverage.(#2147 )
2022-07-14 20:23:39 +08:00
Ccheers
b3eff576ce
test(transport): add unit test for transport coverage: 91.7% of state… ( #2172 )
...
* test(transport): add unit test for transport coverage: 91.7% of statements
* lint & fix data race
* fix test
* fix lint
* fix lint
* remove http func wrapper
* remove error log when watcher context is canceled
* optimize code style
2022-07-10 20:34:19 +08:00
Tony Chen
0bcdb8d59c
fix(encoding/form): encode optional value ( #2155 )
...
* fix form encode optional value
* fix test
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2022-07-07 22:53:28 +08:00
Tony Chen
a0e624c0b8
fix(binding): fix bind field mask ( #2112 )
...
* fix bind field mask
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2022-06-19 20:16:58 +08:00
haiyux
ad5e9032a3
feat: make secure url to grpcs://127.0.0.1/ ( #2072 )
...
* feat:make secure url to grpcs://127.0.0.1/
2022-06-02 19:05:01 +08:00
songzhibin97
c412d65f57
Update endpoint.go ( #2012 )
2022-05-20 22:36:54 +08:00
songzhibin97
2ee49311c1
Update host.go ( #2013 )
2022-05-20 22:36:18 +08:00
qi
c8c870b77f
fix: query params: parse list failed, unsupported message type: "google.protobuf.Struct" #1967 ( #1989 )
...
* feat: Support google.protobuf.Struct in query parameters.
* style: add a blank line in test proto file.
2022-05-17 22:58:28 +08:00
Tony Chen
6ec695064b
move container group to internal ( #1827 )
2022-02-19 16:48:31 +08:00
haiyux
00c05e82a3
test:remove testify go mod ( #1766 )
...
* test:remove testify go mod
* tidy go mdo
* fix test
2022-01-14 10:02:42 +08:00
hshe
7aa9f352f8
fix:internal/host:选择ip未判断ip是否可用&&返回序号最小的ip( #1686 ) ( #1687 )
2021-12-16 22:41:44 +08:00
longxboy
91714bcd34
test: add transport grpc test ( #1580 )
...
* add transport grpc test
* fix node
2021-10-22 15:57:01 +08:00
海雨
fecfb7dc86
test: arrangement test proto and add test ( #1567 )
...
* arrangement test proto and add test
2021-10-20 21:43:44 +08:00
letian
2ce8f22fac
fix bug of host.Extract ( #1481 )
2021-09-15 18:02:26 +08:00
seasrain
1dd8786ed9
fix:move test proto file to internal ( #1471 )
...
* fix:move test proto file to internal
2021-09-14 15:54:43 +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
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
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps ( #1385 )
...
* deps: middleware add separate go.mod and removes framework deps
2021-08-30 23:07:31 +08:00
yuemoxi
0dfab173f9
fix:modify encoding test proto path ( #1388 )
...
* fix:modify encoding test proto path
* fix
* fix
* fix
2021-08-28 22:39:51 +08:00
yuemoxi
a67ec16bf0
test(internal/context,internal/host) add test ( #1334 )
...
* test(internal/context,internal/host) add test
2021-08-25 23:56:28 +08:00
包子
925e55a04d
fix(config): replace text with "${}" only ( #1375 )
...
* fix(config): replace text with "${}" only
2021-08-25 23:52:25 +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
yuemoxi
4b6ab21ae5
test(internal/) add test ( #1331 )
2021-08-14 00:52:00 +08:00
月墨夕
86621a9573
test(internal/context,middleware) add test ( #1326 )
...
* add: test
2021-08-13 14:11:08 +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
longXboy
14d383bc6f
add v2.0.0
2021-07-08 13:54:09 +08:00
longxboy
23a7f15541
add form for codec ( #1158 )
...
* add form for http codec
2021-07-08 13:05:21 +08:00
longxboy
7530fadde0
Feat/fix examples ( #1129 )
...
remove github protobuf dependency
2021-06-30 15:33:08 +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
Tony Chen
59f54b2661
Revert/root ctx v2 ( #1088 )
...
* Revert "remove app info (#1081 )"
This reverts commit 1dab58616b
.
* add http base ctx
Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-20 23:00:27 +08:00
Tony Chen
1dab58616b
remove app info ( #1081 )
2021-06-19 15:40:28 +08:00
longxboy
8baa2ede4b
add path pattern for http ( #1076 )
...
* add path pattern for http
2021-06-17 17:34:27 +08:00
Tony Chen
7f72b72ddb
fix endpoint extract ( #1061 )
2021-06-15 11:39:28 +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
longxboy
af14c07762
fix http util ( #995 )
...
* fix http util
* fix type
2021-06-02 23:36:47 +08:00
longXboy
156146036b
fix test
2021-05-31 17:17:33 +08:00
longXboy
f69cf59537
fix loopback addr
2021-05-31 16:55:30 +08:00
Tony Chen
149fc0195e
kratos: add application info ( #968 )
...
* add application info
* add base context
* add client target
2021-05-29 23:52:05 +08:00
longXboy
cc0214d78b
mv balancer
2021-05-27 15:04:32 +08:00