mirror of
https://github.com/AThilenius/axum-connect.git
synced 2025-01-06 18:18:42 +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
|
```protobuf
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package hello_world;
|
package hello;
|
||||||
|
|
||||||
message HelloRequest {
|
message HelloRequest { string name = 1; }
|
||||||
string name = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message HelloResponse {
|
message HelloResponse { string message = 1; }
|
||||||
string message = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
service HelloWorldService {
|
service HelloWorldService {
|
||||||
rpc SayHello(HelloRequest) returns (HelloResponse) {}
|
rpc SayHello(HelloRequest) returns (HelloResponse) {}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue