mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-24 12:56:10 +00:00
[Go] Working on a go example plus fixing go grpc code (#6448)
Implemented server.go and half implemented client.go Finishes implementation for greeter go example Update grpc code for monster.fbs Adds a couple of cpp methods Adhere to gofmt standards Adds a readme for issues with grpc
This commit is contained in:
14
grpc/examples/greeter.fbs
Normal file
14
grpc/examples/greeter.fbs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace models;
|
||||
|
||||
table HelloReply {
|
||||
message:string;
|
||||
}
|
||||
|
||||
table HelloRequest {
|
||||
name:string;
|
||||
}
|
||||
|
||||
rpc_service Greeter {
|
||||
SayHello(HelloRequest):HelloReply;
|
||||
SayManyHellos(HelloRequest):HelloReply (streaming: "server");
|
||||
}
|
||||
Reference in New Issue
Block a user