syntax = "proto3"; package user; option go_package="./user"; import "google/api/annotations.proto"; service User { rpc Create(CreateReq) returns (Response) { option (google.api.http) = { post: "/customer/v3/login" body: "*" }; } rpc Register(RegisterReq) returns (Response) { option (google.api.http) = { post: "/customer/v3/register" body: "*" }; } }