-
安装: 安装ZooKeeper $Zookeeper/bin/zkServer.sh start
运行 sh build.sh
运行 ./demo-server
运行 ./demo-client
得到结果
result:error:%!s(),resp:moa
或使用redis客户端调用
redis-cli -p 13800 get '{"action":"/service/bibi/go-moa","params":{"m":"getName","args":["a"]}}'
结果:
"{"ec":0,"em":"\u003cnil\u003e","result":"moa"}"
forked from blackbeans/go-moa-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
sh7ning-mirror/go-moa-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
go-moa-demo is an example for go-moa-client
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Go 81.6%
- Shell 18.4%