项目作者: rpcxio

项目描述 :
examples for the latest rpcx
高级语言: Go
项目地址: git://github.com/rpcxio/rpcx-examples.git
创建时间: 2017-10-20T07:19:25Z
项目社区:https://github.com/rpcxio/rpcx-examples

开源协议:Apache License 2.0

下载


Examples for the latest rpcx

A lot of examples for rpcx

How to run

you should build rpcx with necessary tags, otherwise only need to install rpcx:

  1. go get -u -v github.com/smallnest/rpcx/...

If you install succeefullly, you can run examples in this repository.

Enter one sub directory in this repository, go run server.go in one terminal and cd client; go run client.go in another ternimal, and you can watch the run result.

For example,

  1. cd 101basic/server
  2. go run server.go

And

  1. cd 101basic/client
  2. go run client.go