This is an automated email from the ASF dual-hosted git repository.
flycash pushed a change to branch feature/grpc
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git.
from 979acb2 Merge pull request #305 from apache/develop
new 35abd82 feat(grpc): 支持client grpc 调用
new c47b089 support grpc server
new ae67fa1 stash for cli & server test
new 4cd0a60 move some to internal
new 1fb4d91 fmt
new c7d140d stop for client test
new ac47753 add new client test
new 3e839f3 add invoker test
new ddb3c64 use another port
new 68fea4b change port
new dd5273f add doc
new 8f5c6c3 feat(client): add dubbo proto generate
new 9617d26 feat(client): add dubbo proto generate
new e9017cb fmt
new ebcb9f6 fmt & tidy
new 7a5be71 bug fix
new 7fa1bbd fmt
new 5029e32 Merge pull request #275 from xujianhai666/feature/grpc-client
The 1217 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
common/proxy/proxy.go | 25 +-
config/config_loader.go | 2 +-
config/reference_config.go | 8 +-
config/reference_config_test.go | 20 +-
go.mod | 1 +
go.sum | 1 +
protocol/dubbo/dubbo_invoker_test.go | 4 +-
protocol/dubbo/dubbo_protocol.go | 2 +-
protocol/dubbo/dubbo_protocol_test.go | 2 +-
.../apollo/factory.go => protocol/grpc/client.go | 44 ++-
protocol/grpc/client_test.go | 55 ++++
protocol/grpc/common_test.go | 112 +++++++
.../grpc/grpc_exporter.go | 34 +-
protocol/grpc/grpc_invoker.go | 97 ++++++
protocol/grpc/grpc_invoker_test.go | 57 ++++
protocol/grpc/grpc_protocol.go | 104 +++++++
protocol/grpc/grpc_protocol_test.go | 86 +++++
.../grpc/internal/client.go | 25 +-
.../grpc/internal/doc.go | 25 +-
protocol/grpc/internal/helloworld.pb.go | 210 +++++++++++++
.../factory.go => protocol/grpc/internal/server.go | 49 ++-
protocol/grpc/protoc-gen-dubbo/examples/Makefile | 4 +
.../protoc-gen-dubbo/examples/helloworld.pb.go | 284 +++++++++++++++++
.../protoc-gen-dubbo/examples/helloworld.proto | 37 +++
protocol/grpc/protoc-gen-dubbo/main.go | 74 +++++
.../grpc/protoc-gen-dubbo/plugin/dubbo/doc.go | 25 +-
.../grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go | 346 +++++++++++++++++++++
protocol/grpc/server.go | 101 ++++++
protocol/invocation.go | 1 +
protocol/invocation/rpcinvocation.go | 27 +-
protocol/jsonrpc/jsonrpc_protocol.go | 2 +-
protocol/jsonrpc/jsonrpc_protocol_test.go | 2 +-
protocol/protocol.go | 4 +-
protocol/protocolwrapper/mock_protocol_filter.go | 2 +-
.../protocolwrapper/protocol_filter_wrapper.go | 4 +-
.../protocol_filter_wrapper_test.go | 2 +-
registry/directory/directory.go | 8 +-
registry/directory/directory_test.go | 6 +-
registry/protocol/protocol.go | 4 +-
registry/protocol/protocol_test.go | 6 +-
registry/zookeeper/registry.go | 1 +
remoting/zookeeper/client.go | 1 +
remoting/zookeeper/listener.go | 4 +
43 files changed, 1749 insertions(+), 159 deletions(-)
copy config_center/apollo/factory.go => protocol/grpc/client.go (54%)
create mode 100644 protocol/grpc/client_test.go
create mode 100644 protocol/grpc/common_test.go
copy cluster/cluster_impl/forking_cluster.go => protocol/grpc/grpc_exporter.go
(54%)
create mode 100644 protocol/grpc/grpc_invoker.go
create mode 100644 protocol/grpc/grpc_invoker_test.go
create mode 100644 protocol/grpc/grpc_protocol.go
create mode 100644 protocol/grpc/grpc_protocol_test.go
copy cluster/cluster_impl/forking_cluster.go =>
protocol/grpc/internal/client.go (62%)
copy cluster/cluster_impl/forking_cluster.go => protocol/grpc/internal/doc.go
(61%)
create mode 100644 protocol/grpc/internal/helloworld.pb.go
copy config_center/apollo/factory.go => protocol/grpc/internal/server.go (50%)
create mode 100644 protocol/grpc/protoc-gen-dubbo/examples/Makefile
create mode 100644 protocol/grpc/protoc-gen-dubbo/examples/helloworld.pb.go
create mode 100644 protocol/grpc/protoc-gen-dubbo/examples/helloworld.proto
create mode 100644 protocol/grpc/protoc-gen-dubbo/main.go
copy cluster/cluster_impl/forking_cluster.go =>
protocol/grpc/protoc-gen-dubbo/plugin/dubbo/doc.go (61%)
create mode 100644 protocol/grpc/protoc-gen-dubbo/plugin/dubbo/dubbo.go
create mode 100644 protocol/grpc/server.go