# go-moa-demo **Repository Path**: blackbeans/go-moa-demo ## Basic Information - **Project Name**: go-moa-demo - **Description**: go-moa-demo is an example for go-moa-client - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-05-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### MOA Client使用方式 * 安装: 安装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\"}"