1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00
Commit Graph

3770 Commits

Author SHA1 Message Date
Asim Aslam
c8d94c44f0 remove the client 2021-12-30 09:42:08 +00:00
Asim Aslam
5fa6e89f4f fix go mod 2021-12-30 09:35:21 +00:00
Asim Aslam
85f1c44000
Delete go.sum 2021-12-30 08:58:45 +00:00
Asim Aslam
3ba69f11ff
Delete go.mod 2021-12-30 08:58:34 +00:00
Asim Aslam
af5e70a1d6 add service interfaces 2021-12-30 08:44:34 +00:00
Johnson C
5fe884e59f
[FEATURE] add changelog (#2400)
change logs for release history
2021-12-29 11:01:40 +08:00
isfk
415016c6e4
nats config plugin (#2397) 2021-12-28 11:27:36 +08:00
Asim Aslam
e0de23c546
Update and rename m3o.go to services.go 2021-12-24 11:43:20 +00:00
Asim Aslam
7af0eb4b7a
Update services/ (#2392) 2021-12-21 13:18:29 +00:00
isfk
8e52761edb
fix context value nil (#2391) 2021-12-20 16:31:48 +08:00
Johnson C
37de747d19
[fix] nats deregister issue (#2384) 2021-12-10 19:32:21 +08:00
Johnson C
a40f6e8fae
[fix] fixing f.IsExported undefined issue (#2382)
IsExported needs go1.17, replace with PkgPath
2021-12-07 17:30:48 +08:00
Johnson C
b00c8368b9
[feat] dashboard update (#2381)
* [feature] dashboard update
2021-12-07 10:42:31 +08:00
Ak-Army
97f169c424
fix http_transport Recv and Close race condition on buff (#2374)
fix rpc_stream panic override with the "Unlock of unlocked RWMutex" panic

Co-authored-by: Hunyadvári Péter <peter.hunyadvari@vcc.live>
2021-12-05 11:56:17 +00:00
Ak-Army
81244a41f1
Extend client mock with ability to test publish, and a few useful method like SetResponse and SetSubscriber (#2375)
Co-authored-by: Hunyadvári Péter <peter.hunyadvari@vcc.live>
2021-12-05 11:55:54 +00:00
JeffreyBool
229b369702
[fix] update protoc-gen-micro install doc 2021-12-04 12:52:02 +08:00
Johnson C
c0e0b2b225
[FEATURE] dashboard support publish messages (#2373)
* [feature] dashboard

* [feat] support publish message
2021-12-02 13:15:38 +08:00
Johnson C
1e4dd94b71
[fix] zookeeper registry delete event (#2372)
* [fix] #2358 zookeeper delete event
2021-12-01 16:26:31 +08:00
zhaoyang
b25d744f5c
feat: delete redundant lines (#2364) 2021-11-24 17:41:54 +00:00
zhaoyang
685f9979a1
feat: modify the dependencies urls (#2363) 2021-11-24 16:43:05 +00:00
Asim Aslam
6fc5e45626
Update README.md 2021-11-24 07:32:51 +00:00
Asim Aslam
2c6515152a
Update load.go 2021-11-24 07:32:20 +00:00
Johnson C
70d2bd8a6b
[feature] dashboard (#2361) 2021-11-24 11:27:23 +08:00
Johnson C
90b3e4af0b
[fix] ignore unexported field (#2354)
ignore unexported field when register endpoints
2021-11-18 17:07:00 +08:00
Niek den Breeje
4f1a571704
Fix Micro CLI's proto comments (#2353) 2021-11-18 06:10:43 +01:00
陈杨文
799b8d6a65
upgrade to go 1.17 (#2346) 2021-11-11 14:03:34 +00:00
Asim Aslam
8e312801a1
Update README.md 2021-11-08 09:03:37 +00:00
Asim Aslam
335c4e54a1 Merge branch 'master' of ssh://github.com/asim/go-micro 2021-11-08 09:01:56 +00:00
Asim Aslam
e6d17257b0 add nats and redis events plugins 2021-11-08 08:59:14 +00:00
Asim Aslam
0c2041e439
add events package (#2341)
* add events package

* update go version
2021-11-08 08:52:39 +00:00
Johnson C
c5be9f560c
fix(#2333): etcd grpc marshal issue (#2334)
make protocodec compatible with legacy proto message type
2021-11-03 10:58:05 +08:00
Asim Aslam
62b985f49c
Update README.md 2021-11-01 21:44:52 +00:00
Asim Aslam
2b9a6f9aeb
flatten cli (#2332) 2021-11-01 14:34:09 +00:00
Asim Aslam
3c70d23a1d m3o client changed 2021-11-01 11:00:21 +00:00
Asim Aslam
adaa98e6cf use vanity url for cli command 2021-11-01 09:00:14 +00:00
无相
ed90a65783
fix broker nsq plugin nil pointer error (#2329)
Co-authored-by: longhaoteng <longhaoteng@kingsoft.com>
2021-11-01 08:47:22 +00:00
无相
268278c53e
fix config json slice parsing (#2330)
Co-authored-by: longhaoteng <longhaoteng@kingsoft.com>
2021-11-01 08:47:00 +00:00
Benjamin
5d5aee1f08
replace ioutil with io and os (#2327)
set the go version to 1.16 in pr.yml and tests.yml, so as to be consistent with the version in go.mod.
2021-10-30 19:24:40 +01:00
Johnson C
ed690ed838
fixing #2308 (#2326)
IPV6 too many colons in address
net.SplitHostPort need ipv6 address in [host]:port format
2021-10-28 17:03:48 +08:00
Niek den Breeje
e155029a4b
Fix Micro CLI by removing replace line in go.mod 2021-10-27 17:40:26 +02:00
Asim Aslam
880d751df4
Update README.md 2021-10-27 16:34:55 +01:00
Niek den Breeje
a3202b00ee
Rename gomu to micro (#2325)
* Rename Gomu to Micro

* docs: Remove license reference in CLI's README
2021-10-27 16:31:29 +01:00
Asim Aslam
efcda9a48c
Update README.md 2021-10-26 20:17:07 +01:00
Asim Aslam
2c73c7fcf3 strip protoc-gen-micro go mod 2021-10-26 19:46:25 +01:00
Johnson C
d2a51d05c4
[feature] stream CloseSend (#2323)
* support stream CloseSend

* move CloseSend into Closer
2021-10-26 15:07:08 +01:00
Johnson C
af3cfa0a4c
remove unnecessary dependencies between plugins
remove unnecessary dependencies between plugins
upgrade go-micro.dev/v4 to v4.2.1
2021-10-23 16:20:42 +08:00
Johnson C
f96b48dad9
1. use default memory registry in grpc plugins (#2317)
2. try fixing grpc plugin failed to get issue
use v4.0.0-v4.0.0-00010101000000-000000000000 instead of specific version
3. kafka panic on disconnect
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x18 pc=0x1266c50]

goroutine 31 [running]:
github.com/asim/go-micro/plugins/broker/kafka/v3.(*kBroker).Disconnect(0xc0002400c0)
        C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/broker/kafka/v3@v3.7.0/kafka.go:130 +0xd0
github.com/asim/go-micro/plugins/server/grpc/v3.(*grpcServer).Start.func2()
        C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/server/grpc/v3@v3.0.0-20210712061837-0532fd9de8ae/grpc.go:998 +0xc8d
created by github.com/asim/go-micro/plugins/server/grpc/v3.(*grpcServer).Start
        C:/Workshop/Go/pkg/mod/github.com/asim/go-micro/plugins/server/grpc/v3@v3.0.0-20210712061837-0532fd9de8ae/grpc.go:917 +0xcaf
exit status 2
2021-10-22 22:30:28 +08:00
Niek den Breeje
9edc569e68
Add update rule to Makefile (#2315)
I realized that when writing `require go-micro.dev/v4 v4.1.0` in the
`go.mod` file, `go mod tidy` will install that exact version of
`go-micro.dev/v4`. As of right now, v4.1.0 is an outdated version, and
preferably we shouldn't be updating gomu's Go Modules template everytime
a new release is tagged, but still want gomu users to generate projects
using the latest Go Micro version.

In an attempt to solve this problem, I'm opting to add a new Makefile
rule for new projects generated by gomu, `update` that runs `go get -u`.
This aggressively updates any dependencies your Go Modules project may
have.  `go mod tidy` is then able to prune the `go.mod` and `go.sum`
files by removing the unnecessary checksums and transitive dependencies
(e.g. `// indirect`), that were added to by go get -u due to newer
semver available.

Put one and one together and you get two. In addition to adding an
`update` rule to the Makefile generated for new projects by gomu, I'm
also updating the proto and client comments printed when new projects
have been generated to promote the `update` rule.

References:

- https://stackoverflow.com/questions/67201708/go-update-all-modules
2021-10-19 21:12:42 +02:00
Johnson C
29fefbad4e
Plugins (#2311)
* release plugins

* add window plugins release bat script

Co-authored-by: Johnson C <johnson.cheng@scenestek.com>
2021-10-16 05:56:51 +01:00
Asim Aslam
9f4770e7fd
fix generation (#2312) 2021-10-15 14:03:40 +01:00