generated from pkg/go-template
29 lines
519 B
Protocol Buffer
29 lines
519 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
option go_package = "lark";
|
||
|
|
||
|
package example_service;
|
||
|
|
||
|
service User {
|
||
|
rpc Login (LoginRequest) returns (LoginResponse) {}
|
||
|
}
|
||
|
|
||
|
message LoginRequest {
|
||
|
string code = 1;
|
||
|
}
|
||
|
|
||
|
message LoginResponse {
|
||
|
uint64 id = 13;
|
||
|
string access_token = 1;
|
||
|
string name = 2;
|
||
|
string en_name = 3;
|
||
|
string avatar_url = 4;
|
||
|
string avatar_thumb = 5;
|
||
|
string avatar_middle = 6;
|
||
|
string avatar_big = 7;
|
||
|
string open_id = 8;
|
||
|
string union_id = 9;
|
||
|
string email = 10;
|
||
|
string user_id = 11;
|
||
|
string mobile = 12;
|
||
|
}
|