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
568 B

syntax = "proto3";
package api;
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
option go_package = "bkb-notify/api";
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc Ping (google.protobuf.Empty) returns (PingReply) {
option (google.api.http) = {
get: "/ping"
};
}
rpc Ping2 (google.protobuf.Empty) returns (PingReply) {
option (google.api.http) = {
get: "/ping2"
};
}
}
// The response message containing the greetings
message PingReply {
string message = 1;
}