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.
28 lines
447 B
28 lines
447 B
6 months ago
|
syntax = "proto3";
|
||
|
|
||
|
package api;
|
||
|
|
||
|
import "google/api/annotations.proto";
|
||
|
|
||
|
option go_package = "bkb-recommend/api";
|
||
|
|
||
|
|
||
|
// The greeting service definition.
|
||
|
service Recommender {
|
||
|
// Sends a greeting
|
||
|
rpc Ping (PingRequest) returns (PingReply) {
|
||
|
option (google.api.http) = {
|
||
|
get: "/ping"
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
message PingRequest {
|
||
|
string name = 1;
|
||
|
}
|
||
|
|
||
|
|
||
|
// The response message containing the greetings
|
||
|
message PingReply {
|
||
|
string message = 1;
|
||
|
}
|