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

Helloworld 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 ./server/main.go

test server work as expected:

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

Run client

go run ./client/main.go