Skip to content

Commit

Permalink
more readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
LucioFranco committed Oct 1, 2019
1 parent e53fa13 commit 3c1b2e4
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/assets/tonic-banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions .github/assets/tonic-banner2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,28 @@ $ rustup component add rustfmt --toolchain beta
$ cargo +beta build
```

#### Protobuf

```protobuf
package helloworld;
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
}
```

#### Client

```rust
Expand Down

0 comments on commit 3c1b2e4

Please sign in to comment.