All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zon.geom-proto.0.1.0.source-code.user.proto Maven / Gradle / Ivy

There is a newer version: 0.1.1
Show newest version
syntax = "proto3";

package io.github.xezzon.geom.user;

option java_multiple_files = true;
option java_outer_classname = "UserProto";
option java_package = "io.github.xezzon.geom.user";

// 新增用户接口的参数
message AddUserReq {
  // 用户名
  string username = 1;
  // 昵称
  optional string nickname = 2;
  // 密码
  string password = 3;
}

// 新增用户接口的返回值
message AddUserResp {
  // 用户ID
  string id = 1;
}

// 用户相关的服务间接口
service User {
  // 新增用户
  rpc AddUser (AddUserReq) returns (AddUserResp);
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy