github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/protobuf/protoc-gen-go-grain/options/options.proto (about) 1 syntax = "proto3"; 2 3 package options; 4 5 import "google/protobuf/descriptor.proto"; 6 7 option go_package = "github.com/asynkron/protoactor-go/protobuf/protoc-gen-go-grain/options"; 8 9 message MethodOptions { 10 // mark a method as reenterable will generate a callback version of the method 11 bool reenterable = 1; 12 // generate an extra future interface in the client 13 // all methods called in reenterable methods should use the future interface 14 bool future = 2; 15 } 16 17 extend google.protobuf.MethodOptions { 18 MethodOptions method_options = 50000; 19 }