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>
33 lines
729 B
Protocol Buffer
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;
|
|
}
|