Files
softplayer-proto/proto/test/v1/test_v1.proto
Nikolai Rodionov 53c5c44307
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
Add dummy streaming methods
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2026-05-14 11:11:39 +02:00

33 lines
729 B
Protocol Buffer

syntax = "proto3";
package test.v1;
import "google/protobuf/empty.proto";
option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/test/v1";
/**
* Service for handling environments
*/
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 {}
message PingResponse {}
message PongRequest {}
message PongResponse {}
message PingStreamResponse {
string dummy = 1;
}
message PongStreamResponse {
string dummy = 1;
}