MarginaliaSearch/code/libraries/test-helpers/src/main/protobuf/testapi.proto

16 lines
360 B
Protocol Buffer
Raw Normal View History

syntax="proto3";
package nu.marginalia.test;
option java_package="nu.marginalia.test";
option java_multiple_files=true;
/* Dummy API for testing gRPC, service discovery, similar things */
service TestApi {
rpc increment(RpcInteger) returns (RpcInteger) {}
rpc count(RpcInteger) returns (stream RpcInteger) {}
}
message RpcInteger {
int32 value = 1;
}