Add examples readme
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user