syntax = "proto3";

option go_package = "./;hello";

import "google/api/annotations.proto";

package hello;

// The greeter service definition.
service Greeter {
  // Sends a greeting
  rpc SayHello (HelloRequest) returns (HelloReply) {
    option (google.api.http) = {
      get: "/test"
    };
  }
  rpc TestName (HelloRequest) returns (HelloReply) {
    option (google.api.http) = {
      get: "/test/{name}"
    };
  }
}

// The request message containing the user's name.
message HelloRequest {
  string name = 1;
}

// The response message containing the greetings
message HelloReply {
  string message = 1;
}
