jesse.tang
9737a3c5e4
fix: typo and grammatical errors ( #2368 )
...
* fix: grammar
* fix: grammar
* fix overrode
* translate to English
* translate to English
2 years ago
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
2 years ago
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
2 years ago
haiyux
39796ea0dc
fix: delete endpoint service discovery compatibility ( #2289 )
...
* fix: delete endpoint package endpoint
* fix lint
2 years ago
Tony Chen
f3b0da3f04
feat(middleware): add selector matcher ( #2239 )
...
* feat(middleware): add selector matcher
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
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 )
3 years ago
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
3 years ago
Tony Chen
0bcdb8d59c
fix(encoding/form): encode optional value ( #2155 )
...
* fix form encode optional value
* fix test
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
Tony Chen
a0e624c0b8
fix(binding): fix bind field mask ( #2112 )
...
* fix bind field mask
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
haiyux
ad5e9032a3
feat: make secure url to grpcs://127.0.0.1/ ( #2072 )
...
* feat:make secure url to grpcs://127.0.0.1/
3 years ago
songzhibin97
c412d65f57
Update endpoint.go ( #2012 )
3 years ago
songzhibin97
2ee49311c1
Update host.go ( #2013 )
3 years ago
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.
3 years ago
Tony Chen
6ec695064b
move container group to internal ( #1827 )
3 years ago
haiyux
00c05e82a3
test:remove testify go mod ( #1766 )
...
* test:remove testify go mod
* tidy go mdo
* fix test
3 years ago
hshe
7aa9f352f8
fix:internal/host:选择ip未判断ip是否可用&&返回序号最小的ip( #1686 ) ( #1687 )
3 years ago
longxboy
91714bcd34
test: add transport grpc test ( #1580 )
...
* add transport grpc test
* fix node
3 years ago
海雨
fecfb7dc86
test: arrangement test proto and add test ( #1567 )
...
* arrangement test proto and add test
3 years ago
letian
2ce8f22fac
fix bug of host.Extract ( #1481 )
3 years ago
seasrain
1dd8786ed9
fix:move test proto file to internal ( #1471 )
...
* fix:move test proto file to internal
3 years ago
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>
3 years ago
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
3 years ago
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps ( #1385 )
...
* deps: middleware add separate go.mod and removes framework deps
3 years ago
yuemoxi
0dfab173f9
fix:modify encoding test proto path ( #1388 )
...
* fix:modify encoding test proto path
* fix
* fix
* fix
3 years ago
yuemoxi
a67ec16bf0
test(internal/context,internal/host) add test ( #1334 )
...
* test(internal/context,internal/host) add test
3 years ago
包子
925e55a04d
fix(config): replace text with "${}" only ( #1375 )
...
* fix(config): replace text with "${}" only
3 years ago
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
3 years ago
yuemoxi
4b6ab21ae5
test(internal/) add test ( #1331 )
3 years ago
月墨夕
86621a9573
test(internal/context,middleware) add test ( #1326 )
...
* add: test
3 years ago
Tony Chen
bc35f20228
feat(endpoint): add endpoint parser ( #1273 )
...
* feat(endpoint): add endpoint parser
* fix parseTarget ut
* fix insecure testing
4 years ago
zwhyb
8f4e78b47d
grpc‘s secure discovery ( #1270 )
...
* add gprc secure discovery
* add http insecure filter
4 years ago
longXboy
14d383bc6f
add v2.0.0
4 years ago
longxboy
23a7f15541
add form for codec ( #1158 )
...
* add form for http codec
4 years ago
longxboy
7530fadde0
Feat/fix examples ( #1129 )
...
remove github protobuf dependency
4 years ago
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>
4 years ago
longxboy
545ffd1084
add response header ( #1119 )
...
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
longxboy
87eb5ed5c0
add http ip port support ( #1115 )
...
* add http ip port support
* fix example
4 years ago
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>
4 years ago
Tony Chen
1dab58616b
remove app info ( #1081 )
4 years ago
longxboy
8baa2ede4b
add path pattern for http ( #1076 )
...
* add path pattern for http
4 years ago
Tony Chen
7f72b72ddb
fix endpoint extract ( #1061 )
4 years ago
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 ( #1050 )
...
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
4 years ago
Tony Chen
2729caeecf
http/binding: rename encode url ( #1039 )
...
* rename binding url
4 years ago
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
4 years ago
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>
4 years ago
longxboy
af14c07762
fix http util ( #995 )
...
* fix http util
* fix type
4 years ago
longXboy
156146036b
fix test
4 years ago
longXboy
f69cf59537
fix loopback addr
4 years ago
Tony Chen
149fc0195e
kratos: add application info ( #968 )
...
* add application info
* add base context
* add client target
4 years ago
longXboy
cc0214d78b
mv balancer
4 years ago