github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/protobuf/protoc-gen-go-grain/test/reenter/hello.proto (about) 1 syntax = "proto3"; 2 3 package hello; 4 5 import "protobuf/protoc-gen-go-grain/options/options.proto"; 6 7 option go_package = "github.com/asynkron/protoactor-go/protoc-gen-go-grain/testdata/hello"; 8 9 message SayHelloRequest { 10 string name = 1; 11 } 12 13 message SayHelloResponse { 14 string message = 1; 15 } 16 17 message DoworkRequest { 18 string name = 1; 19 } 20 21 message DoworkResponse { 22 string message = 1; 23 } 24 25 service Hello { 26 rpc SayHello (SayHelloRequest) returns (SayHelloResponse) { 27 option (options.method_options).reenterable = true; 28 }; 29 30 rpc Dowork (DoworkRequest) returns (DoworkResponse) { 31 option (options.method_options).future = true; 32 }; 33 }