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 )
v4.4.0
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 )
v4.3.0
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 )
cmd/protoc-gen-micro/v4.0.0
2021-10-15 14:03:40 +01:00
Asim Aslam
e7dbda689e
fix gomu
v4.2.1
2021-10-14 08:09:21 +01:00
Asim Aslam
00f461141a
fix examples go mod
v4.2.0
2021-10-13 13:37:24 +01:00
Asim Aslam
8cad88edae
update go sums
2021-10-13 13:35:17 +01:00
Asim Aslam
62801c3d68
update
2021-10-13 13:31:23 +01:00
Asim Aslam
7136c61dbd
rename to go-micro.dev
2021-10-13 09:52:05 +01:00
Asim Aslam
a87f9a808c
move to go-micro.dev
2021-10-13 09:44:24 +01:00
Asim Aslam
ca594b922c
Merge branch 'master' of ssh://github.com/asim/go-micro
2021-10-13 09:42:31 +01:00
Asim Aslam
aa4a87ed9a
move to v4 in protoc-gen-micro
2021-10-13 09:42:21 +01:00
justcy
690facdb5c
update model template ( #2307 )
2021-10-13 08:07:48 +01:00
Asim Aslam
f63e46a7d1
use 4.1.0
2021-10-12 13:22:08 +01:00
Asim Aslam
1cd7cfaa6c
go-micro.dev/v4 ( #2305 )
v4.1.0
v4.0.0
2021-10-12 12:55:53 +01:00
jxlwqq
d9a6faeb7a
Add latest version ( #2303 )
plugins/config/source/pkger/v3.7.0
plugins/wrapper/trace/datadog/v3.7.0
plugins/config/encoder/toml/v3.7.0
plugins/config/encoder/cue/v3.7.0
plugins/config/encoder/xml/v3.7.0
plugins/codec/segmentio/v3.7.0
plugins/config/encoder/yaml/v3.7.0
plugins/codec/msgpackrpc/v3.7.0
plugins/config/source/configmap/v3.7.0
plugins/codec/jsonrpc2/v3.7.0
plugins/config/source/consul/v3.7.0
plugins/codec/json-iterator/v3.7.0
plugins/config/source/etcd/v3.7.0
plugins/codec/bsonrpc/v3.7.0
plugins/client/mucp/v3.7.0
plugins/config/source/grpc/v3.7.0
plugins/client/mock/v3.7.0
plugins/config/source/mucp/v3.7.0
plugins/client/http/v3.7.0
plugins/config/source/nacos/v3.7.0
plugins/client/grpc/v3.7.0
plugins/broker/stomp/v3.7.0
plugins/broker/stan/v3.7.0
plugins/broker/sqs/v3.7.0
plugins/config/source/runtimevar/v3.7.0
plugins/broker/snssqs/v3.7.0
plugins/config/source/url/v3.7.0
plugins/broker/segmentio/v3.7.0
plugins/config/source/vault/v3.7.0
plugins/broker/redis/v3.7.0
plugins/broker/rabbitmq/v3.7.0
plugins/broker/proxy/v3.7.0
plugins/broker/nsq/v3.7.0
plugins/logger/apex/v3.7.0
plugins/broker/nats/v3.7.0
plugins/logger/logrus/v3.7.0
plugins/broker/mqtt/v3.7.0
plugins/logger/windowseventlog/v3.7.0
plugins/broker/memory/v3.7.0
plugins/logger/zap/v3.7.0
plugins/broker/kafka/v3.7.0
plugins/logger/zerolog/v3.7.0
plugins/broker/http/v3.7.0
plugins/broker/grpc/v3.7.0
plugins/broker/googlepubsub/v3.7.0
plugins/broker/gocloud/v3.7.0
plugins/auth/jwt/v3.7.0
plugins/acme/certmagic/v3.7.0
cmd/protoc-gen-micro/v3.7.0
plugins/wrapper/select/roundrobin/v3.7.0
plugins/wrapper/ratelimiter/uber/v3.7.0
plugins/wrapper/ratelimiter/ratelimit/v3.7.0
plugins/wrapper/monitoring/victoriametrics/v3.7.0
v3.7.0
plugins/wrapper/monitoring/prometheus/v3.7.0
plugins/wrapper/endpoint/v3.7.0
plugins/wrapper/breaker/hystrix/v3.7.0
plugins/wrapper/breaker/gobreaker/v3.7.0
plugins/transport/utp/v3.7.0
plugins/transport/tcp/v3.7.0
plugins/transport/rabbitmq/v3.7.0
plugins/transport/quic/v3.7.0
plugins/transport/nats/v3.7.0
plugins/transport/memory/v3.7.0
plugins/transport/http/v3.7.0
plugins/transport/grpc/v3.7.0
plugins/sync/memory/v3.7.0
release
plugins/sync/etcd/v3.7.0
plugins/proxy/http/v3.7.0
plugins/wrapper/validator/v3.7.0
plugins/registry/cache/v3.7.0
plugins/sync/consul/v3.7.0
plugins/registry/consul/v3.7.0
plugins/wrapper/trace/opentracing/v3.7.0
plugins/registry/etcd/v3.7.0
plugins/store/redis/v3.7.0
plugins/registry/eureka/v3.7.0
plugins/wrapper/trace/opencensus/v3.7.0
plugins/registry/gossip/v3.7.0
plugins/store/mysql/v3.7.0
plugins/registry/kubernetes/v3.7.0
plugins/store/memory/v3.7.0
plugins/registry/mdns/v3.7.0
plugins/store/memcached/v3.7.0
plugins/registry/memory/v3.7.0
plugins/wrapper/trace/awsxray/v3.7.0
plugins/registry/multi/v3.7.0
plugins/store/file/v3.7.0
plugins/registry/nacos/v3.7.0
plugins/wrapper/service/v3.7.0
plugins/registry/nats/v3.7.0
plugins/store/consul/v3.7.0
plugins/registry/proxy/v3.7.0
plugins/wrapper/select/version/v3.7.0
plugins/registry/zookeeper/v3.7.0
plugins/store/cockroach/v3.7.0
plugins/selector/dns/v3.7.0
plugins/wrapper/select/shard/v3.7.0
plugins/selector/label/v3.7.0
plugins/config/encoder/hcl/v3.7.0
plugins/selector/registry/v3.7.0
plugins/server/mucp/v3.7.0
plugins/selector/shard/v3.7.0
plugins/server/http/v3.7.0
plugins/selector/static/v3.7.0
plugins/server/grpc/v3.7.0
plugins/network/grpc/v3.7.0
plugins/network/http/v3.7.0
plugins/network/memory/v3.7.0
plugins/network/nats/v3.7.0
plugins/network/quic/v3.7.0
plugins/network/rabbitmq/v3.7.0
plugins/network/tcp/v3.7.0
plugins/network/utp/v3.7.0
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