1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-18 08:26:38 +02:00
Commit Graph

3564 Commits

Author SHA1 Message Date
Ak-Army
48ba9f91b4
Fix panic in httpTransportClient.Recv (#2530)
* [fix] http transport can send when wait for recv

* [fix] http transport can send multiple message and recevie them. Do not block send and receive on stream mode

* [fix] http transport can close the connection when recv is in progress, add tests

* [fix] Read buff before reset it, when the connection is closed

Co-authored-by: Hunyadvári Péter <peter.hunyadvari@vcc.live>
2022-07-22 08:36:36 +01:00
Ak-Army
ec6a47c894
HTTP Transport make streaming truly bidirectional (#2528)
* [fix] http transport can send when wait for recv

* [fix] http transport can send multiple message and recevie them. Do not block send and receive on stream mode

* [fix] http transport can close the connection when recv is in progress, add tests

Co-authored-by: Hunyadvári Péter <peter.hunyadvari@vcc.live>
2022-07-15 11:00:13 +01:00
Sergey Galkin
1219d57f58
option to disable file watcher (#2485) (#2486)
Co-authored-by: Sergey Galkin <v.sergey.galkin@reddit.com>

Co-authored-by: Sergey Galkin <v.sergey.galkin@reddit.com>
2022-04-19 06:26:14 +01:00
Johnson C
5a2f37c718
http transport data race issue (#2436)
* [fix] #2431 http transport data race issue
2022-02-23 11:55:18 +08:00
Johnson C
21bac54ad2
[fix] etcd config source prefix issue (#2389) 2021-12-17 11:43:55 +08:00
jxlwqq
d9a6faeb7a
Add latest version (#2303) 2021-10-11 15:15:42 +01:00
Asim Aslam
4cb6168780
Update README.md 2021-10-11 09:21:06 +01:00
Asim Aslam
b8d7f87d17 remove file 2021-10-11 09:19:20 +01:00
Asim Aslam
b2e17a89e5 rename file 2021-10-11 09:19:01 +01:00
Asim Aslam
4ae2528cbe
add m3o services (#2301)
* add m3o services

* update readme
2021-10-11 09:18:28 +01:00
Asim Aslam
043a82bce2
Update README.md 2021-10-11 08:38:31 +01:00
Asim Aslam
99e0b182b7
Update README.md 2021-10-11 08:38:07 +01:00
Asim Aslam
ab1b10f13d
Update README.md 2021-10-11 08:37:38 +01:00
jxlwqq
86eabf4a4c
Use go install (#2300)
go get: installing executables with 'go get' in module mode is deprecated.
        To adjust and download dependencies of the current module, use 'go get -d'.
        To install using requirements of the current module, use 'go install'.
        To install ignoring the current module, use 'go install' with a version,
        like 'go install example.com/cmd@latest'.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
2021-10-11 06:32:13 +01:00
Qalifah
a99a1e9356
add MultiError type (#2297) 2021-10-06 17:55:14 +01:00
Asim Aslam
2ef523a7eb
Delete index.html 2021-10-02 13:13:22 +01:00
Asim Aslam
a1da40d9aa Delete CNAME 2021-10-01 20:23:38 +01:00
Defoo Li
a315fc2dda
Fix missing content type (#2289) 2021-09-30 12:15:09 +01:00
Johnson C
6dc25053ea
Errors (#2290)
* add errors.As

convert target err to *Error, return false if err don't match *Error

* update errors.As to (*Error, bool)

* fixing FromError panic issue when err is nil
2021-09-30 07:45:10 +01:00
Qiu Yu
4612baa7f8
zap plugin: allow injecting zap logger options (#2287)
Though some of the Zap logger option can be customized through
plugins/logger/zap.Options, this change allows go.uber.org/zap.Option be
be injected directly for deeper customization.
2021-09-29 07:12:16 +01:00
Johnson C
44ecd6a457
Hystrix filter (#2286)
* support hystrix filter

* filter function should return true of false
2021-09-28 11:23:04 +01:00
Asim Aslam
8c39b1e120
Update index.html 2021-09-24 09:10:04 +01:00
Asim Aslam
12eff1cc60 go fmt 2021-09-24 09:08:39 +01:00
Asim Aslam
9deb715ebb
Update go.mod 2021-09-24 09:08:16 +01:00
Arsen
3b60db0dcd
logger helper: add "inject" method, to make a pair with "extract" (#2283) 2021-09-23 16:48:08 +01:00
Asim Aslam
af22cbb108
Update README.md 2021-09-22 14:48:20 +01:00
Asim Aslam
9d7131a512
Update README.md 2021-09-22 14:43:37 +01:00
Asim Aslam
bca9ab165d
Update README.md 2021-09-22 14:42:17 +01:00
Asim Aslam
d111f96993
Update README.md 2021-09-22 14:41:29 +01:00
Asim Aslam
2f223c276c
Update README.md 2021-09-22 14:32:06 +01:00
Asim Aslam
33acb4a956 update readme 2021-09-22 14:31:21 +01:00
Asim Aslam
b515785637 add services dir 2021-09-22 14:30:40 +01:00
Asim Aslam
3dcdcdad32
Update README.md 2021-09-22 13:37:07 +01:00
Arsen
916ed6b8ee
logger: caller's skip correction (#2280) 2021-09-22 09:01:03 +01:00
gregkv
b8fbe87e1f
Use context to log "panic recovered" errors in grpc-server plugin (#2278) 2021-09-20 10:50:13 +01:00
Asim Aslam
cb3db7dd83
Update options.go 2021-09-19 17:22:28 +01:00
simon
066ce5045b
Command Option add NewConfig,NewProfile func (#2276)
* Add grpc,memory,quic transport automatically discover

* Add grpc,memory,quic transport automatically discover

* Add jwt auth automatically discover

* Add jwt auth automatically discover

* Add config command option automatically discover

* Add AuthCall wrapper func

* Add NewConfig func

* Add NewProfile func
2021-09-19 17:21:55 +01:00
Asim Aslam
a65932ff82 Create CNAME 2021-09-19 15:10:47 +01:00
Asim Aslam
5496086916
Create index.html 2021-09-19 14:44:03 +01:00
Kurisu_Amatist
efd4ef0e62
fix(cache): only watch calling service in registry (#2273) 2021-09-19 10:40:21 +01:00
gregkv
00d819a199
Remove fields map from Helper, add Extract method and fix for defaultLogger.Fields (#2274) 2021-09-19 10:40:09 +01:00
helloword
ad532522ea
Config CORS (#2270)
* Added cors.config for CORS

* Added cors.config for CORS

* Added cors.config for CORS

Co-authored-by: 于海洋 <yhy@iothinking.com>
2021-09-17 10:17:12 +01:00
Christoffer Åström
4c7d2e28eb
test(api): fix randomly failing rpc test (#2268) 2021-09-13 21:56:36 +01:00
Branden Horiuchi
d78d35078c
Consul sync plugin (#2267)
* adding consul sync provider

* adding logging options

Co-authored-by: Branden Horiuchi <Branden.Horiuchi@blackline.com>
2021-09-13 19:08:05 +01:00
Johnson C
22409c8ff3
support hystrix filter (#2265) 2021-09-13 09:23:26 +01:00
binbin.zhang
6c3a5c161f
upgrade nacos sdk version (#2264)
Co-authored-by: binbin <binbin@didiglobal.com>
2021-09-12 22:16:46 +01:00
Niek den Breeje
fa27250605
Add generate kubernetes command (#2261) 2021-09-10 18:56:51 +01:00
Niek den Breeje
ac21bb5b19
Document Gomu's generator package (#2262) 2021-09-10 18:48:09 +01:00
Niek den Breeje
5b8d22a463
Add Kubernetes flag to new command (#2263)
To remain consistent with the Gomu's generate command, we add a
Kubernetes flag to Gomu's new command as well.
2021-09-10 18:47:55 +01:00
Niek den Breeje
56d5143557
Document Gomu's generate command (#2260) 2021-09-10 14:30:46 +01:00