fix: using standalone && auto tag set && fielaligment (#103)
This commit is contained in:
17
example/stream_test.proto
Normal file
17
example/stream_test.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package example;
|
||||
|
||||
option go_package = "go.unistack.org/protoc-gen-go-micro/v4/example/out/go;examplepb";
|
||||
|
||||
service StreamExample {
|
||||
// server-side streaming
|
||||
rpc ServerStream(StreamReq) returns (stream StreamRsp) {};
|
||||
// client-side streaming
|
||||
rpc ClientStream(stream StreamReq) returns (StreamRsp) {};
|
||||
// bidirectional streaming
|
||||
rpc BidiStream(stream StreamReq) returns (stream StreamRsp) {};
|
||||
}
|
||||
|
||||
message StreamReq { string name = 1; }
|
||||
message StreamRsp { string data = 1; }
|
||||
Reference in New Issue
Block a user