23 lines
432 B
Protocol Buffer
23 lines
432 B
Protocol Buffer
syntax = "proto3";
|
|
package test.v1;
|
|
option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg/test/v1";
|
|
|
|
/**
|
|
* Service for handling environments
|
|
*/
|
|
service TestNoAuthService {
|
|
rpc Ping (PingRequest) returns (PingResponse) {}
|
|
}
|
|
|
|
service TestAuthService {
|
|
rpc Pong (PongRequest) returns (PongResponse) {}
|
|
}
|
|
|
|
message PingRequest {}
|
|
|
|
message PingResponse {}
|
|
|
|
message PongRequest {}
|
|
|
|
message PongResponse {}
|