forked from mosn/layotto
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wangzhilong23
committed
Apr 11, 2022
1 parent
fa5ebd7
commit a2d6e5d
Showing
2 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Dubbo JSON RPC Example | ||
|
||
*Note: This demo needs to run under go v1.17* | ||
## 快速开始 | ||
1. 修改配置文件,加入`dubbo_json_rpc`插件 | ||
|
||
|
@@ -19,17 +19,12 @@ git clone [email protected]:apache/dubbo-go-samples.git | |
cd dubbo-go-samples | ||
|
||
# start zookeeper | ||
cd attachment/go-server | ||
make -f ../../build/Makefile docker-up | ||
cd - | ||
|
||
# build dubbo server | ||
cd general/jsonrpc/go-server | ||
sh assembly/mac/dev.sh | ||
cd rpc/jsonrpc/go-server | ||
docker-compose -f docker/docker-compose.yml up -d | ||
|
||
# start dubbo server | ||
cd target/darwin/{generate_folder}/ | ||
sh ./bin/load.sh start | ||
# build && start dubbo server | ||
cd cmd | ||
go run . | ||
``` | ||
|
||
4. 通过GPRC接口发起调用 | ||
|