Add dummy streaming methods
All checks were successful
ci/woodpecker/push/go-generate Pipeline was successful
ci/woodpecker/push/dart-generate Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/js-generate Pipeline was successful
ci/woodpecker/push/repo-checks Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-05-14 11:11:39 +02:00
parent dbd6423439
commit 53c5c44307

View File

@@ -1,5 +1,6 @@
syntax = "proto3";
package test.v1;
import "google/protobuf/empty.proto";
option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/test/v1";
/**
@@ -7,10 +8,12 @@ option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg
*/
service PublicTestService {
rpc Ping (PingRequest) returns (PingResponse) {}
rpc PingStream (google.protobuf.Empty) returns (stream PingStreamResponse) {}
}
service TestService {
rpc Pong (PongRequest) returns (PongResponse) {}
rpc PongStream (google.protobuf.Empty) returns (stream PongStreamResponse) {}
}
message PingRequest {}
@@ -20,3 +23,10 @@ message PingResponse {}
message PongRequest {}
message PongResponse {}
message PingStreamResponse {
string dummy = 1;
}
message PongStreamResponse {
string dummy = 1;
}