mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-03 17:30:18 +01:00
17 lines
256 B
Protocol Buffer
17 lines
256 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package testpb;
|
||
|
|
||
|
message FooRequest {
|
||
|
bool fail = 1;
|
||
|
int64 sleep_nanos = 2;
|
||
|
}
|
||
|
|
||
|
message FooResponse {
|
||
|
}
|
||
|
|
||
|
service Foo {
|
||
|
rpc Single(FooRequest) returns (FooResponse);
|
||
|
rpc Multiple(stream FooRequest) returns (stream FooResponse);
|
||
|
}
|