From 529c3fc0ab897aaf75c7648c14062eb29f6d285b Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Sun, 29 Sep 2019 21:01:29 -0400 Subject: [PATCH] Add examples readme --- tonic-examples/README.md | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 tonic-examples/README.md diff --git a/tonic-examples/README.md b/tonic-examples/README.md new file mode 100644 index 0000000..490d2ca --- /dev/null +++ b/tonic-examples/README.md @@ -0,0 +1,72 @@ +# Examples + +Set of examples that show off the features provided by `tonic`. + +## Helloworld + +### Client + +```bash +$ cargo run --bin helloworld-client +``` + +### Server + +```bash +$ cargo run --bin helloworld-server +``` + +## RouteGuide + +### Client + +```bash +$ cargo run --bin routegide-client +``` + +### Server + +```bash +$ cargo run --bin routeguide-server +``` + +## Authentication + +### Client + +```bash +$ cargo run --bin authentication-client +``` + +### Server + +```bash +$ cargo run --bin authentication-server +``` + +## Load balance + +### Client + +```bash +$ cargo run --bin load-balance-client +``` + +### Server + +```bash +$ cargo run --bin load-balance-server +``` + +## TLS (rustls) + +### Client + +```bash +$ cargo run --bin tls-client +``` + +### Server + +```bash +$ cargo run --bin tls-server