Files
lone-services/user/proto/user.proto
T
2026-08-13 15:43:03 +08:00

22 lines
403 B
Protocol Buffer

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: "*"
};
}
}