1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-21 19:19:32 +02:00

1259 Commits

Author SHA1 Message Date
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
v2.1.2
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
Evan
f9a132c9dd
feat: recovery logger with ctx (#1601)
Co-authored-by: 曾政 <zengz@weipaitang.com>
2021-11-04 19:40:34 +08:00
包子
ce8ed35c1d
fix(cmd/kratos): use context timeout control, add timeout param (#1592) 2021-11-01 17:48:57 +08:00
包子
143dc584cb
feat: add descriptor.proto (#1590) 2021-10-28 11:09:31 +08:00
包子
70f58b264a
fix(app): use new context when app stop (#1589) 2021-10-28 11:09:17 +08:00
Tony Chen
b353ab91f1
add pprof handler (#1587) 2021-10-27 23:50:45 +08:00
Xiong Liu
ef686a1cc7
feat: Add consul kv config provider (#1499)
feat: Add consul kv for config
Co-authored-by: liuxiong <lx@webull.com>
2021-10-26 14:43:07 +08:00
包子
806a6b3e13
doc: create CODE_OF_CONDUCT.md (#1585) 2021-10-26 09:40:23 +08:00
包子
5097c3d743
Create CONTRIBUTING.md 2021-10-26 09:29:15 +08:00
Windfarer
ea1a0c30ed
chore: update badge (#1582) 2021-10-23 21:53:57 +08:00
海雨
3da927759a
test: add transport http test (#1579)
* test: add transport http test

* fix lient

* add client

* add http test
2021-10-22 15:57:18 +08:00