You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
381 B
30 lines
381 B
syntax = "proto3";
|
|
|
|
package api;
|
|
|
|
|
|
|
|
import "google/api/annotations.proto";
|
|
option go_package = "pure/tests/api";
|
|
|
|
|
|
// The greeting service definition.
|
|
|
|
// The greeting service definition.
|
|
service Recommender {
|
|
// Sends a greeting
|
|
rpc Ping (PingRequest) returns (PingReply) {
|
|
|
|
}
|
|
}
|
|
|
|
message PingRequest {
|
|
string name = 1;
|
|
}
|
|
|
|
|
|
|
|
message PingReply {
|
|
string message = 1;
|
|
}
|
|
|
|
|