21 lines
351 B
Protocol Buffer
21 lines
351 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package main;
|
|
|
|
option go_package = ".;main";
|
|
|
|
|
|
import "base.proto";
|
|
import "google/api/annotations.proto";
|
|
|
|
// The greeting service definition.
|
|
service Building {
|
|
// Sends a greeting
|
|
rpc Name (Request) returns (Reply){
|
|
option (google.api.http) = {
|
|
post: "/v1/building/name"
|
|
body: "*"
|
|
};
|
|
}
|
|
}
|