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