mirror of
https://github.com/AThilenius/axum-connect.git
synced 2024-11-24 06:19:46 +00:00
Minor fix in README
This commit is contained in:
parent
7e1d7b6c18
commit
d92f5529c5
1 changed files with 4 additions and 8 deletions
12
README.md
12
README.md
|
@ -66,18 +66,14 @@ Start by creating the obligatory 'hello world' proto service definition.
|
|||
```protobuf
|
||||
syntax = "proto3";
|
||||
|
||||
package hello_world;
|
||||
package hello;
|
||||
|
||||
message HelloRequest {
|
||||
string name = 1;
|
||||
}
|
||||
message HelloRequest { string name = 1; }
|
||||
|
||||
message HelloResponse {
|
||||
string message = 1;
|
||||
}
|
||||
message HelloResponse { string message = 1; }
|
||||
|
||||
service HelloWorldService {
|
||||
rpc SayHello(HelloRequest) returns (HelloResponse) {}
|
||||
rpc SayHello(HelloRequest) returns (HelloResponse) {}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue