mirror of
https://github.com/go-micro/go-micro.git
synced 2025-05-19 21:23:04 +02:00
17 lines
272 B
Protocol Buffer
17 lines
272 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "./proto;stream";
|
|
|
|
service Streamer {
|
|
rpc Stream(stream Request) returns (stream Response) {}
|
|
rpc ServerStream(Request) returns (stream Response) {}
|
|
}
|
|
|
|
message Request {
|
|
int64 count = 1;
|
|
}
|
|
|
|
message Response {
|
|
int64 count = 1;
|
|
}
|