tree: dac27a415e453eae4b21fa0c5faed28ea61f90a2 [path history] [tgz]
  1. go-client/
  2. go-server/
  3. proto/

MultiRpc for dubbo-go

This example demonstrates the basic usage of dubbo-go as an RPC framework. Check Quick Start on our official website for detailed explanation.


  • server/main.go - is the main definition of the service, handler and rpc server
  • client/main.go - is the rpc client
  • proto - contains the protobuf definition of the API

How to run

Run server

go run ./go-server/cmd/main.go

test server work as expected:

curl \
    --header "Content-Type: application/json" \
    --data '{"name": "Dubbo"}' \

Run client

go run ./go-client/cmd/main.go