mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-21 05:11:17 +00: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);
|
|
}
|