1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-14 02:33:03 +02:00
Commit Graph

1519 Commits

Author SHA1 Message Date
Xudong Cai
e95452276f
fix(cmd): fixed a camel word enum error 2021-12-24 14:10:50 +08:00
包子
0e72cc2dcb
fix(cmd/proto-gen-http-go): remove go.mod replace (#1707) 2021-12-22 16:24:35 +08:00
包子
1117350b9c
deps: update kratos version to 2.1.3 (#1706) 2021-12-22 14:15:09 +08:00
包子
5aeb14d381
feat(transport/grpc): gRPC client discovery supports incoming logger and timeout (#1702) 2021-12-22 09:08:46 +08:00
白玉堂
72f9cc3518
docs: some wrong err msg description 2021-12-22 09:08:29 +08:00
JerryZhou
94d674fd4c
fix(cmd/proto-gen-errors): non nil assertion for error (#1700) 2021-12-20 11:10:01 +08:00
包子
32158bcef2
fix(nacos): call unsubscribe when watching is stopped (#1697) 2021-12-17 11:08:16 +08:00
hshe
7aa9f352f8
fix:internal/host:选择ip未判断ip是否可用&&返回序号最小的ip(#1686) (#1687) 2021-12-16 22:41:44 +08:00
Cluas
03f5ee015c
consul: support WithServiceResolver option (#1693)
* consul: add endpoints resolver option

* consul: resolver []*api.ServiceEntry -> []*registry.ServiceInstance

* consul: rename Resolver -> ServiceResolver
2021-12-16 22:24:43 +08:00
haiyux
2e045c3e42
feat: middleware seletor add ctx match (#1652)
* feat: middleware seletor add headers match

* fix

* add some annotation

* add ctx seletor

* fix match function

* update match
2021-12-13 21:31:01 +08:00
Cluas
e1e8184768
transport/http: delay pass context.Context (#1684)
* transport/http: fix http request do not with ctx from user
2021-12-13 14:30:34 +08:00
Cluas
5df28f4fdc
registry/nacos: reduce twice string copies (#1681)
* registry/nacos: reduce two string copies

* registry/nacos: update example
2021-12-10 00:14:35 +08:00
kiripeng
041ffffb15
fix: map 其桶中只能存储 8 个键值对元素,超过后会储存到溢出桶或者扩容,影响性能,预先声明容量以免影响性能 (#1671) 2021-12-09 23:29:47 +08:00
xiaoxiaodek
413cc77f7d
fix(config): apollo close function: useless infinite loop causes high cpu usage (#1674)
Co-authored-by: wangshaosen <wangshaosen@videopls.com>
2021-12-09 23:27:17 +08:00
Richard
c9e19f1d98
chore: completion command in the comment (#1680) 2021-12-09 23:24:39 +08:00
china小宇
83ebf53b93
fix: circuitbreaker use client context (#1679) 2021-12-09 23:20:46 +08:00
songzhibin97
8c9e70b47b
style: format (#1667)
* style: format

* fix:ci
2021-12-08 00:17:24 +08:00
sxpsxp12
63a7ffae04
fix: fix nacos.Register many endpoint metadata kind error (#1664)
* fix: fix nacos.Register metadata map type reference bug --user=sxpsxp12

* fix: fix golangci-link error

Co-authored-by: songxiaopeng <xiaopeng.song@infwaves.com>
2021-12-05 02:33:55 +08:00
Giovanny Gutiérrez
2471f1d955
fix(grpc): Block the RCP unil a new picker is available (#1660)
* fix(config): Support colon as default value in config.yaml

* fix(cmd/protoc-gen-go-http): Follow the http rule to use the query string

* fix: Block the RPC until new picker is available

* fix: lints for balancer
2021-12-03 17:21:56 +08:00
leyou240
67161b62eb
feat(registry/nacos): add default kind option (#1650) 2021-12-02 11:38:01 +08:00
longxboy
98fd40bcb4
revert to select filters (#1656) 2021-11-29 10:55:11 +08:00
Wimi Yuan
2acede53f3
feat(app): app info delivery to stop context (#1649) 2021-11-24 17:21:29 +08:00
haiyux
27cfec93d6
optimize:chan bool to chan struct{} (#1648) 2021-11-24 17:21:01 +08:00
haiyux
ef3322ec07
fix: remove cmd replace (#1640) 2021-11-19 17:14:24 +08:00
包子
7e0045cd0f
fix: nacos a vulnerable dependency was referenced (#1639)
* fix: replace jsonparser version

* fix

* fix
2021-11-19 15:29:16 +08:00
包子
6b53d7d229
deps: upgrade 2.1.2 (#1638)
* deps: upgrade 2.1.2

* fix lint
2021-11-19 15:02:49 +08:00
wuxingzhong
7d821541b3
fix doc (#1636) 2021-11-18 21:22:19 +08:00
lcsin
3231b35420
Update main.go (#1627) 2021-11-18 00:39:27 +08:00
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 (#1626) 2021-11-18 00:38:31 +08:00
haiyux
05ecd2ce2c
fix:add consul all health check (#1620)
* fix:add consul all health check

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-11-16 14:23:23 +08:00
Eng Zer Jun
77b16286f8
refactor: move from io/ioutil to io and os packages (#1633)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-16 13:22:35 +08:00
Giovanny Gutiérrez
7a52468ea8
fix(cmd/protoc-gen-go-http): follow the http rule to use query strings (#1629) 2021-11-15 11:52:31 +08:00
包子
268243d8a3
fix(cmd/new): print the correct error message (#1630) 2021-11-14 13:32:10 +08:00
李鑫
780a6c0527
docs of etcd config (#1622) 2021-11-12 23:16:50 +08:00
yeqown
c392528e11
docs: replenish config/apollo and registry/discovery readme (#1625)
* docs(config/apollo): replenish config/apollo readme

* docs(registry/discovery): replenish registry/discovery readme

* docs: complete docs of config/apollo and registry/discovery
2021-11-12 23:16:12 +08:00
spume
0f423be434
fix(middleware/tracing): modify kartos to kratos (#1628) 2021-11-12 23:12:00 +08:00
Soul
0fad751032
feat(form/form): add support google.protobuf.Struct; (#1617)
Co-authored-by: soul <chenzhiag@163.com>
2021-11-10 23:21:44 +08:00
thinkgo
c70cdc9a11
fix[cmd]: if enum is a word in proto file, it should be camel too. (#1618) 2021-11-10 21:09:16 +08:00
Windfarer
a8692e7dde
feat(contrib/config): use key file extension as format & config load log (#1619)
* add format
2021-11-10 20:10:28 +08:00
zhaohaiyux
fcd9351717
fix:modify annotation and wrong words (#1615)
* fix:modify annotation and wrong words
2021-11-08 19:53:35 +08:00
longxboy
988c2312b4
feat: add base fitler to improve performace (#1612)
* add node filter

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-11-08 15:22:04 +08:00
wangcong
c3d0bb66bb
fix: nacos registry test data race (#1613) 2021-11-06 15:15:56 +08:00
letian
32272fe441
feat(http): http client support service discovery in Do (#1563) 2021-11-05 16:47:34 +08:00
Windfarer
4f013de2ec
test: add nacos test (#1603)
* add test

* upgrade nacos sdk version

* upgrade nacos sdk version

* fix test

* github nacos instance

* config test

* fix lint

* fix test

* go mod

* fix lint

* lint
2021-11-05 16:45:46 +08:00
包子
5aac2ef5a7
fix(cmd/http): fixed cannot declare a route with a regular expression (#1608)
* fix(cmd/http): fixed cannot declare a route with a regular expression
2021-11-05 16:44:57 +08:00
longxboy
cd79c2a458
feat: add raw node (#1611)
* add raw node to improve performace
2021-11-05 16:43:40 +08:00
hoolio
9d2719f9f4
make the output of gin example right (#1598) 2021-11-04 22:07:01 +08:00
wangcong
cf385f6285
fix: k8s nacos and zookeeper registry lint (#1599) 2021-11-04 22:06:14 +08:00
longxboy
f42b1c4dd2
fix: fix p2c test (#1607) 2021-11-04 21:59:52 +08:00
longxboy
037296cdbf
export selector node (#1606) 2021-11-04 21:48:29 +08:00