An open API service indexing awesome lists of open source software.

https://github.com/rpcxio/rpcx-examples

examples for the latest rpcx
https://github.com/rpcxio/rpcx-examples

dubbo example examples motan rpc rpcx

Last synced: about 1 month ago
JSON representation

examples for the latest rpcx

Awesome Lists containing this project

README

        

# Examples for the latest rpcx

A lot of examples for [rpcx](https://github.com/smallnest/rpcx)

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

```sh
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,

```sh
cd 101basic/server
go run server.go
```

And

```sh
cd 101basic/client
go run client.go
```