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
- Host: GitHub
- URL: https://github.com/rpcxio/rpcx-examples
- Owner: rpcxio
- License: apache-2.0
- Created: 2017-10-20T07:19:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-22T15:27:56.000Z (9 months ago)
- Last Synced: 2024-08-22T17:17:17.366Z (9 months ago)
- Topics: dubbo, example, examples, motan, rpc, rpcx
- Language: Go
- Homepage:
- Size: 27.4 MB
- Stars: 407
- Watchers: 22
- Forks: 136
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```