mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-02 17:10:18 +01:00
16 lines
256 B
Protocol Buffer
16 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);
|
|
}
|