You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
636 B
Protocol Buffer

syntax = "proto3";
import "google/protobuf/empty.proto";
option go_package = "github.com/BGrewell/go-iperf/api";
// [START java_declaration]
option java_multiple_files = true;
option java_package = "com.bengrewell.go-iperf.control";
option java_outer_classname = "Control";
// [END java_declaration]
// [START csharp_declaration]
option csharp_namespace = "BenGrewell.GoIperf.Control";
// [END csharp_declaration]
package api;
service Command {
rpc GrpcRequestServer(StartServerRequest) returns (StartServerResponse) {}
}
message StartServerRequest {
}
message StartServerResponse {
string id = 1;
int32 listen_port = 2;
}