mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-26 17:02:32 +01:00
Add README for example app
This commit is contained in:
15
example-service/README.md
Normal file
15
example-service/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Example
|
||||
|
||||
Example service to demonstrate how to set up `tarpc` with [Jaeger](https://www.jaegertracing.io). To see traces Jaeger, run the following with `RUST_LOG=trace`.
|
||||
|
||||
## Server
|
||||
|
||||
```bash
|
||||
cargo run --bin server -- --port 50051
|
||||
```
|
||||
|
||||
## Client
|
||||
|
||||
```bash
|
||||
cargo run --bin client -- --server-addr "[::1]:50051" --name "Bob"
|
||||
```
|
||||
Reference in New Issue
Block a user