odds-crawler-proto/network/network.proto

25 lines
532 B
Protocol Buffer

syntax = "proto3";
option cc_enable_arenas = true;
option java_outer_classname = "NetworkProto";
option java_multiple_files = true;
option java_package = "net.loafle.oddscrawler";
option go_package = "network";
package oddscrawler;
// The request message containing the user's name.
message NetworkRequest {
string name = 1;
}
// The response message containing the greetings
message NetworkReply {
string message = 1;
}
service Networker {
// Sends a greeting
rpc SayHello (NetworkRequest) returns (NetworkReply) {}
}