Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
im-microservice
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Li Feifei
im-microservice
Commits
1528762b
Commit
1528762b
authored
Jul 08, 2020
by
Li Feifei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update im_user proto file
parent
dbd843ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
343 additions
and
266 deletions
+343
-266
im_user.pb.go
pb/im_user.pb.go
+338
-252
im_user.validator.pb.go
pb/im_user.validator.pb.go
+5
-14
No files found.
pb/im_user.pb.go
View file @
1528762b
...
@@ -30,17 +30,23 @@ const (
...
@@ -30,17 +30,23 @@ const (
// of the legacy proto package is being used.
// of the legacy proto package is being used.
const
_
=
proto
.
ProtoPackageIsVersion4
const
_
=
proto
.
ProtoPackageIsVersion4
//
注册登录
//
用户注册修改
type
ImUserRequest
struct
{
type
ImUserRequest
struct
{
state
protoimpl
.
MessageState
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
unknownFields
protoimpl
.
UnknownFields
Common
*
Common
`protobuf:"bytes,1,opt,name=Common,proto3" json:"Common,omitempty"`
Common
*
Common
`protobuf:"bytes,1,opt,name=Common,proto3" json:"Common,omitempty"`
Name
string
`protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Accid
string
`protobuf:"bytes,2,opt,name=Accid,proto3" json:"Accid,omitempty"`
Mobile
string
`protobuf:"bytes,3,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Name
string
`protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Code
string
`protobuf:"bytes,4,opt,name=Code,proto3" json:"Code,omitempty"`
Icon
string
`protobuf:"bytes,4,opt,name=Icon,proto3" json:"Icon,omitempty"`
Platform
string
`protobuf:"bytes,5,opt,name=Platform,proto3" json:"Platform,omitempty"`
Token
string
`protobuf:"bytes,5,opt,name=Token,proto3" json:"Token,omitempty"`
Sign
string
`protobuf:"bytes,6,opt,name=Sign,proto3" json:"Sign,omitempty"`
Email
string
`protobuf:"bytes,7,opt,name=Email,proto3" json:"Email,omitempty"`
Birth
string
`protobuf:"bytes,8,opt,name=Birth,proto3" json:"Birth,omitempty"`
Mobile
string
`protobuf:"bytes,9,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Gender
int64
`protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"`
Ex
string
`protobuf:"bytes,11,opt,name=Ex,proto3" json:"Ex,omitempty"`
}
}
func
(
x
*
ImUserRequest
)
Reset
()
{
func
(
x
*
ImUserRequest
)
Reset
()
{
...
@@ -82,6 +88,13 @@ func (x *ImUserRequest) GetCommon() *Common {
...
@@ -82,6 +88,13 @@ func (x *ImUserRequest) GetCommon() *Common {
return
nil
return
nil
}
}
func
(
x
*
ImUserRequest
)
GetAccid
()
string
{
if
x
!=
nil
{
return
x
.
Accid
}
return
""
}
func
(
x
*
ImUserRequest
)
GetName
()
string
{
func
(
x
*
ImUserRequest
)
GetName
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Name
return
x
.
Name
...
@@ -89,6 +102,41 @@ func (x *ImUserRequest) GetName() string {
...
@@ -89,6 +102,41 @@ func (x *ImUserRequest) GetName() string {
return
""
return
""
}
}
func
(
x
*
ImUserRequest
)
GetIcon
()
string
{
if
x
!=
nil
{
return
x
.
Icon
}
return
""
}
func
(
x
*
ImUserRequest
)
GetToken
()
string
{
if
x
!=
nil
{
return
x
.
Token
}
return
""
}
func
(
x
*
ImUserRequest
)
GetSign
()
string
{
if
x
!=
nil
{
return
x
.
Sign
}
return
""
}
func
(
x
*
ImUserRequest
)
GetEmail
()
string
{
if
x
!=
nil
{
return
x
.
Email
}
return
""
}
func
(
x
*
ImUserRequest
)
GetBirth
()
string
{
if
x
!=
nil
{
return
x
.
Birth
}
return
""
}
func
(
x
*
ImUserRequest
)
GetMobile
()
string
{
func
(
x
*
ImUserRequest
)
GetMobile
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Mobile
return
x
.
Mobile
...
@@ -96,30 +144,33 @@ func (x *ImUserRequest) GetMobile() string {
...
@@ -96,30 +144,33 @@ func (x *ImUserRequest) GetMobile() string {
return
""
return
""
}
}
func
(
x
*
ImUserRequest
)
Get
Code
()
string
{
func
(
x
*
ImUserRequest
)
Get
Gender
()
int64
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Code
return
x
.
Gender
}
}
return
""
return
0
}
}
func
(
x
*
ImUserRequest
)
Get
Platform
()
string
{
func
(
x
*
ImUserRequest
)
Get
Ex
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Platform
return
x
.
Ex
}
}
return
""
return
""
}
}
type
ImUserReply
struct
{
//注册返回
type
ImUserRegReply
struct
{
state
protoimpl
.
MessageState
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
unknownFields
protoimpl
.
UnknownFields
Token
string
`protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"`
Accid
string
`protobuf:"bytes,2,opt,name=Accid,proto3" json:"Accid,omitempty"`
Accid
string
`protobuf:"bytes,2,opt,name=Accid,proto3" json:"Accid,omitempty"`
Name
string
`protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
}
}
func
(
x
*
ImUserReply
)
Reset
()
{
func
(
x
*
ImUserRe
gRe
ply
)
Reset
()
{
*
x
=
ImUserReply
{}
*
x
=
ImUserRe
gRe
ply
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_user_proto_msgTypes
[
1
]
mi
:=
&
file_u_proto_im_user_proto_msgTypes
[
1
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
...
@@ -127,13 +178,13 @@ func (x *ImUserReply) Reset() {
...
@@ -127,13 +178,13 @@ func (x *ImUserReply) Reset() {
}
}
}
}
func
(
x
*
ImUserReply
)
String
()
string
{
func
(
x
*
ImUserRe
gRe
ply
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
}
func
(
*
ImUserReply
)
ProtoMessage
()
{}
func
(
*
ImUserRe
gRe
ply
)
ProtoMessage
()
{}
func
(
x
*
ImUserReply
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
ImUserRe
gRe
ply
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_user_proto_msgTypes
[
1
]
mi
:=
&
file_u_proto_im_user_proto_msgTypes
[
1
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
...
@@ -145,20 +196,34 @@ func (x *ImUserReply) ProtoReflect() protoreflect.Message {
...
@@ -145,20 +196,34 @@ func (x *ImUserReply) ProtoReflect() protoreflect.Message {
return
mi
.
MessageOf
(
x
)
return
mi
.
MessageOf
(
x
)
}
}
// Deprecated: Use ImUserReply.ProtoReflect.Descriptor instead.
// Deprecated: Use ImUserRe
gRe
ply.ProtoReflect.Descriptor instead.
func
(
*
ImUserReply
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ImUserRe
gRe
ply
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_user_proto_rawDescGZIP
(),
[]
int
{
1
}
return
file_u_proto_im_user_proto_rawDescGZIP
(),
[]
int
{
1
}
}
}
func
(
x
*
ImUserReply
)
GetAccid
()
string
{
func
(
x
*
ImUserRegReply
)
GetToken
()
string
{
if
x
!=
nil
{
return
x
.
Token
}
return
""
}
func
(
x
*
ImUserRegReply
)
GetAccid
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Accid
return
x
.
Accid
}
}
return
""
return
""
}
}
//用户退出
func
(
x
*
ImUserRegReply
)
GetName
()
string
{
type
ImUserOutRequest
struct
{
if
x
!=
nil
{
return
x
.
Name
}
return
""
}
//用户登录退出
type
ImUserLoginRequest
struct
{
state
protoimpl
.
MessageState
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
sizeCache
protoimpl
.
SizeCache
unknownFields
protoimpl
.
UnknownFields
unknownFields
protoimpl
.
UnknownFields
...
@@ -168,8 +233,8 @@ type ImUserOutRequest struct {
...
@@ -168,8 +233,8 @@ type ImUserOutRequest struct {
Platform
string
`protobuf:"bytes,3,opt,name=Platform,proto3" json:"Platform,omitempty"`
Platform
string
`protobuf:"bytes,3,opt,name=Platform,proto3" json:"Platform,omitempty"`
}
}
func
(
x
*
ImUser
Out
Request
)
Reset
()
{
func
(
x
*
ImUser
Login
Request
)
Reset
()
{
*
x
=
ImUser
Out
Request
{}
*
x
=
ImUser
Login
Request
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_u_proto_im_user_proto_msgTypes
[
2
]
mi
:=
&
file_u_proto_im_user_proto_msgTypes
[
2
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
...
@@ -177,13 +242,13 @@ func (x *ImUserOutRequest) Reset() {
...
@@ -177,13 +242,13 @@ func (x *ImUserOutRequest) Reset() {
}
}
}
}
func
(
x
*
ImUser
Out
Request
)
String
()
string
{
func
(
x
*
ImUser
Login
Request
)
String
()
string
{
return
protoimpl
.
X
.
MessageStringOf
(
x
)
return
protoimpl
.
X
.
MessageStringOf
(
x
)
}
}
func
(
*
ImUser
Out
Request
)
ProtoMessage
()
{}
func
(
*
ImUser
Login
Request
)
ProtoMessage
()
{}
func
(
x
*
ImUser
Out
Request
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
ImUser
Login
Request
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_u_proto_im_user_proto_msgTypes
[
2
]
mi
:=
&
file_u_proto_im_user_proto_msgTypes
[
2
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
...
@@ -195,26 +260,26 @@ func (x *ImUserOutRequest) ProtoReflect() protoreflect.Message {
...
@@ -195,26 +260,26 @@ func (x *ImUserOutRequest) ProtoReflect() protoreflect.Message {
return
mi
.
MessageOf
(
x
)
return
mi
.
MessageOf
(
x
)
}
}
// Deprecated: Use ImUser
Out
Request.ProtoReflect.Descriptor instead.
// Deprecated: Use ImUser
Login
Request.ProtoReflect.Descriptor instead.
func
(
*
ImUser
Out
Request
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ImUser
Login
Request
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_u_proto_im_user_proto_rawDescGZIP
(),
[]
int
{
2
}
return
file_u_proto_im_user_proto_rawDescGZIP
(),
[]
int
{
2
}
}
}
func
(
x
*
ImUser
Out
Request
)
GetCommon
()
*
Common
{
func
(
x
*
ImUser
Login
Request
)
GetCommon
()
*
Common
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Common
return
x
.
Common
}
}
return
nil
return
nil
}
}
func
(
x
*
ImUser
Out
Request
)
GetAccid
()
string
{
func
(
x
*
ImUser
Login
Request
)
GetAccid
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Accid
return
x
.
Accid
}
}
return
""
return
""
}
}
func
(
x
*
ImUser
Out
Request
)
GetPlatform
()
string
{
func
(
x
*
ImUser
Login
Request
)
GetPlatform
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Platform
return
x
.
Platform
}
}
...
@@ -285,6 +350,7 @@ func (x *ImUserSetRequest) GetAccid() string {
...
@@ -285,6 +350,7 @@ func (x *ImUserSetRequest) GetAccid() string {
return
""
return
""
}
}
//修改返回
type
ImUserSetReply
struct
{
type
ImUserSetReply
struct
{
state
protoimpl
.
MessageState
state
protoimpl
.
MessageState
sizeCache
protoimpl
.
SizeCache
sizeCache
protoimpl
.
SizeCache
...
@@ -387,15 +453,15 @@ type ImUserOneReply struct {
...
@@ -387,15 +453,15 @@ type ImUserOneReply struct {
Id
int64
`protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
Id
int64
`protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
Accid
string
`protobuf:"bytes,2,opt,name=Accid,proto3" json:"Accid,omitempty"`
Accid
string
`protobuf:"bytes,2,opt,name=Accid,proto3" json:"Accid,omitempty"`
Name
string
`protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Name
string
`protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Mobile
string
`protobuf:"bytes,4,opt,name=Mobile,proto3" json:"Mobile
,omitempty"`
Sing
string
`protobuf:"bytes,4,opt,name=Sing,proto3" json:"Sing
,omitempty"`
Disable
int64
`protobuf:"varint,5,opt,name=Disable,proto3" json:"Disable
,omitempty"`
Email
string
`protobuf:"bytes,5,opt,name=Email,proto3" json:"Email
,omitempty"`
MuteEstoppel
int64
`protobuf:"varint,6,opt,name=MuteEstoppel,proto3" json:"MuteEstoppel
,omitempty"`
Birth
string
`protobuf:"bytes,6,opt,name=Birth,proto3" json:"Birth
,omitempty"`
M
uteAudioVideo
int64
`protobuf:"varint,7,opt,name=MuteAudioVideo,proto3" json:"MuteAudioVideo
,omitempty"`
M
obile
string
`protobuf:"bytes,7,opt,name=Mobile,proto3" json:"Mobile
,omitempty"`
Ext
string
`protobuf:"bytes,8,opt,name=Ext,proto3" json:"Ext
,omitempty"`
Valid
int64
`protobuf:"varint,8,opt,name=Valid,proto3" json:"Valid
,omitempty"`
Createtime
string
`protobuf:"bytes,9,opt,name=Createtime,proto3" json:"Createtime
,omitempty"`
MuteEstoppel
int64
`protobuf:"varint,9,opt,name=MuteEstoppel,proto3" json:"MuteEstoppel
,omitempty"`
Updatetime
string
`protobuf:"bytes,10,opt,name=Updatetime,proto3" json:"Updatetime
,omitempty"`
MuteAudioVideo
int64
`protobuf:"varint,10,opt,name=MuteAudioVideo,proto3" json:"MuteAudioVideo
,omitempty"`
LoginStatus
int64
`protobuf:"varint,11,opt,name=LoginStatus,proto3" json:"LoginStatus
,omitempty"`
Ext
string
`protobuf:"bytes,11,opt,name=Ext,proto3" json:"Ext
,omitempty"`
Platform
string
`protobuf:"bytes,12,opt,name=Platform,proto3" json:"Platform
,omitempty"`
Gender
int64
`protobuf:"varint,12,opt,name=Gender,proto3" json:"Gender
,omitempty"`
Edition
string
`protobuf:"bytes,13,opt,name=Edition,proto3" json:"Edition,omitempty"`
Edition
string
`protobuf:"bytes,13,opt,name=Edition,proto3" json:"Edition,omitempty"`
}
}
...
@@ -452,6 +518,27 @@ func (x *ImUserOneReply) GetName() string {
...
@@ -452,6 +518,27 @@ func (x *ImUserOneReply) GetName() string {
return
""
return
""
}
}
func
(
x
*
ImUserOneReply
)
GetSing
()
string
{
if
x
!=
nil
{
return
x
.
Sing
}
return
""
}
func
(
x
*
ImUserOneReply
)
GetEmail
()
string
{
if
x
!=
nil
{
return
x
.
Email
}
return
""
}
func
(
x
*
ImUserOneReply
)
GetBirth
()
string
{
if
x
!=
nil
{
return
x
.
Birth
}
return
""
}
func
(
x
*
ImUserOneReply
)
GetMobile
()
string
{
func
(
x
*
ImUserOneReply
)
GetMobile
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Mobile
return
x
.
Mobile
...
@@ -459,9 +546,9 @@ func (x *ImUserOneReply) GetMobile() string {
...
@@ -459,9 +546,9 @@ func (x *ImUserOneReply) GetMobile() string {
return
""
return
""
}
}
func
(
x
*
ImUserOneReply
)
Get
Disable
()
int64
{
func
(
x
*
ImUserOneReply
)
Get
Valid
()
int64
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Disable
return
x
.
Valid
}
}
return
0
return
0
}
}
...
@@ -487,34 +574,13 @@ func (x *ImUserOneReply) GetExt() string {
...
@@ -487,34 +574,13 @@ func (x *ImUserOneReply) GetExt() string {
return
""
return
""
}
}
func
(
x
*
ImUserOneReply
)
GetCreatetime
()
string
{
func
(
x
*
ImUserOneReply
)
GetGender
()
int64
{
if
x
!=
nil
{
return
x
.
Createtime
}
return
""
}
func
(
x
*
ImUserOneReply
)
GetUpdatetime
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Updatetime
return
x
.
Gender
}
return
""
}
func
(
x
*
ImUserOneReply
)
GetLoginStatus
()
int64
{
if
x
!=
nil
{
return
x
.
LoginStatus
}
}
return
0
return
0
}
}
func
(
x
*
ImUserOneReply
)
GetPlatform
()
string
{
if
x
!=
nil
{
return
x
.
Platform
}
return
""
}
func
(
x
*
ImUserOneReply
)
GetEdition
()
string
{
func
(
x
*
ImUserOneReply
)
GetEdition
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Edition
return
x
.
Edition
...
@@ -532,15 +598,12 @@ type ImUserListRequest struct {
...
@@ -532,15 +598,12 @@ type ImUserListRequest struct {
Page
int64
`protobuf:"varint,2,opt,name=Page,proto3" json:"Page,omitempty"`
Page
int64
`protobuf:"varint,2,opt,name=Page,proto3" json:"Page,omitempty"`
Mobile
string
`protobuf:"bytes,3,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Mobile
string
`protobuf:"bytes,3,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
Name
string
`protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
Name
string
`protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
Disable
int64
`protobuf:"varint,5,opt,name=Disable,proto3" json:"Disable
,omitempty"`
Valid
int64
`protobuf:"varint,5,opt,name=Valid,proto3" json:"Valid
,omitempty"`
MuteEstoppel
int64
`protobuf:"varint,6,opt,name=MuteEstoppel,proto3" json:"MuteEstoppel,omitempty"`
MuteEstoppel
int64
`protobuf:"varint,6,opt,name=MuteEstoppel,proto3" json:"MuteEstoppel,omitempty"`
MuteAudioVideo
int64
`protobuf:"varint,7,opt,name=MuteAudioVideo,proto3" json:"MuteAudioVideo,omitempty"`
MuteAudioVideo
int64
`protobuf:"varint,7,opt,name=MuteAudioVideo,proto3" json:"MuteAudioVideo,omitempty"`
Ext
string
`protobuf:"bytes,8,opt,name=Ext,proto3" json:"Ext
,omitempty"`
Gender
int64
`protobuf:"varint,8,opt,name=Gender,proto3" json:"Gender
,omitempty"`
Createtime
string
`protobuf:"bytes,9,opt,name=Createtime,proto3" json:"Createtime,omitempty"`
Createtime
string
`protobuf:"bytes,9,opt,name=Createtime,proto3" json:"Createtime,omitempty"`
Updatetime
string
`protobuf:"bytes,10,opt,name=Updatetime,proto3" json:"Updatetime,omitempty"`
Edition
string
`protobuf:"bytes,10,opt,name=Edition,proto3" json:"Edition,omitempty"`
LoginStatus
int64
`protobuf:"varint,11,opt,name=LoginStatus,proto3" json:"LoginStatus,omitempty"`
Platform
string
`protobuf:"bytes,12,opt,name=Platform,proto3" json:"Platform,omitempty"`
Edition
string
`protobuf:"bytes,13,opt,name=Edition,proto3" json:"Edition,omitempty"`
}
}
func
(
x
*
ImUserListRequest
)
Reset
()
{
func
(
x
*
ImUserListRequest
)
Reset
()
{
...
@@ -603,9 +666,9 @@ func (x *ImUserListRequest) GetName() string {
...
@@ -603,9 +666,9 @@ func (x *ImUserListRequest) GetName() string {
return
""
return
""
}
}
func
(
x
*
ImUserListRequest
)
Get
Disable
()
int64
{
func
(
x
*
ImUserListRequest
)
Get
Valid
()
int64
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Disable
return
x
.
Valid
}
}
return
0
return
0
}
}
...
@@ -624,11 +687,11 @@ func (x *ImUserListRequest) GetMuteAudioVideo() int64 {
...
@@ -624,11 +687,11 @@ func (x *ImUserListRequest) GetMuteAudioVideo() int64 {
return
0
return
0
}
}
func
(
x
*
ImUserListRequest
)
Get
Ext
()
string
{
func
(
x
*
ImUserListRequest
)
Get
Gender
()
int64
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Ext
return
x
.
Gender
}
}
return
""
return
0
}
}
func
(
x
*
ImUserListRequest
)
GetCreatetime
()
string
{
func
(
x
*
ImUserListRequest
)
GetCreatetime
()
string
{
...
@@ -638,27 +701,6 @@ func (x *ImUserListRequest) GetCreatetime() string {
...
@@ -638,27 +701,6 @@ func (x *ImUserListRequest) GetCreatetime() string {
return
""
return
""
}
}
func
(
x
*
ImUserListRequest
)
GetUpdatetime
()
string
{
if
x
!=
nil
{
return
x
.
Updatetime
}
return
""
}
func
(
x
*
ImUserListRequest
)
GetLoginStatus
()
int64
{
if
x
!=
nil
{
return
x
.
LoginStatus
}
return
0
}
func
(
x
*
ImUserListRequest
)
GetPlatform
()
string
{
if
x
!=
nil
{
return
x
.
Platform
}
return
""
}
func
(
x
*
ImUserListRequest
)
GetEdition
()
string
{
func
(
x
*
ImUserListRequest
)
GetEdition
()
string
{
if
x
!=
nil
{
if
x
!=
nil
{
return
x
.
Edition
return
x
.
Edition
...
@@ -730,122 +772,128 @@ var file_u_proto_im_user_proto_rawDesc = []byte{
...
@@ -730,122 +772,128 @@ var file_u_proto_im_user_proto_rawDesc = []byte{
0x6f
,
0x1a
,
0x36
,
0x67
,
0x69
,
0x74
,
0x68
,
0x75
,
0x62
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x2f
,
0x6d
,
0x77
,
0x6f
,
0x1a
,
0x36
,
0x67
,
0x69
,
0x74
,
0x68
,
0x75
,
0x62
,
0x2e
,
0x63
,
0x6f
,
0x6d
,
0x2f
,
0x6d
,
0x77
,
0x69
,
0x74
,
0x6b
,
0x6f
,
0x77
,
0x2f
,
0x67
,
0x6f
,
0x2d
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2d
,
0x76
,
0x69
,
0x74
,
0x6b
,
0x6f
,
0x77
,
0x2f
,
0x67
,
0x6f
,
0x2d
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x2d
,
0x76
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x73
,
0x2f
,
0x76
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x61
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x73
,
0x2f
,
0x76
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x61
,
0x74
,
0x6f
,
0x72
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x
aa
,
0x01
,
0x0a
,
0x0d
,
0x49
,
0x6d
,
0x74
,
0x6f
,
0x72
,
0x2e
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x22
,
0x
8f
,
0x02
,
0x0a
,
0x0d
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x21
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x03
,
0x20
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x12
,
0x0a
,
0x01
,
0x28
,
0x09
,
0x42
,
0x09
,
0xe2
,
0xdf
,
0x1f
,
0x05
,
0x58
,
0x01
,
0x80
,
0x01
,
0x0b
,
0x52
,
0x06
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x1a
,
0x0a
,
0x04
,
0x43
,
0x6f
,
0x64
,
0x65
,
0x18
,
0x04
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x49
,
0x63
,
0x6f
,
0x6e
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x04
,
0x43
,
0x6f
,
0x04
,
0x49
,
0x63
,
0x6f
,
0x6e
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x54
,
0x6f
,
0x6b
,
0x65
,
0x6e
,
0x18
,
0x05
,
0x64
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x54
,
0x6f
,
0x6b
,
0x65
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x53
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x69
,
0x67
,
0x6e
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x53
,
0x69
,
0x67
,
0x6e
,
0x12
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x22
,
0x23
,
0x0a
,
0x0b
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x14
,
0x0a
,
0x05
,
0x45
,
0x6d
,
0x61
,
0x69
,
0x6c
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x45
,
0x6d
,
0x61
,
0x69
,
0x6c
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x42
,
0x69
,
0x72
,
0x74
,
0x68
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0x78
,
0x0a
,
0x10
,
0x49
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x42
,
0x69
,
0x72
,
0x74
,
0x68
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x75
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x47
,
0x65
,
0x6e
,
0x64
,
0x65
,
0x72
,
0x18
,
0x0a
,
0x20
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x01
,
0x28
,
0x03
,
0x52
,
0x06
,
0x47
,
0x65
,
0x6e
,
0x64
,
0x65
,
0x72
,
0x12
,
0x0e
,
0x0a
,
0x02
,
0x45
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x78
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x02
,
0x45
,
0x78
,
0x22
,
0x50
,
0x0a
,
0x0e
,
0x49
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x67
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x14
,
0x0a
,
0x64
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x03
,
0x20
,
0x05
,
0x54
,
0x6f
,
0x6b
,
0x65
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x54
,
0x6f
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x6b
,
0x65
,
0x6e
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x22
,
0x68
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x22
,
0x7a
,
0x0a
,
0x12
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x22
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x22
,
0x68
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x04
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0x10
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x54
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1c
,
0x0a
,
0x04
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x08
,
0x52
,
0x04
,
0x4d
,
0x75
,
0x74
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x65
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0xc8
,
0x02
,
0x0a
,
0x0e
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x0e
,
0x10
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x0a
,
0x02
,
0x49
,
0x64
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x02
,
0x49
,
0x64
,
0x12
,
0x14
,
0x79
,
0x22
,
0x54
,
0x0a
,
0x10
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x53
,
0x69
,
0x6e
,
0x67
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x1c
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x63
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x53
,
0x69
,
0x6e
,
0x67
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x42
,
0x06
,
0xe2
,
0xdf
,
0x1f
,
0x02
,
0x58
,
0x01
,
0x45
,
0x6d
,
0x61
,
0x69
,
0x6c
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x45
,
0x6d
,
0x61
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x22
,
0xf2
,
0x02
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x69
,
0x6c
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x42
,
0x69
,
0x72
,
0x74
,
0x68
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x0e
,
0x0a
,
0x02
,
0x49
,
0x64
,
0x09
,
0x52
,
0x05
,
0x42
,
0x69
,
0x72
,
0x74
,
0x68
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x02
,
0x49
,
0x64
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x41
,
0x63
,
0x6c
,
0x65
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x63
,
0x69
,
0x64
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x05
,
0x41
,
0x63
,
0x63
,
0x69
,
0x64
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x56
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x05
,
0x56
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x04
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0c
,
0x4d
,
0x75
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x12
,
0x26
,
0x0a
,
0x0e
,
0x4d
,
0x75
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x07
,
0x44
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x28
,
0x03
,
0x52
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x45
,
0x78
,
0x74
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x45
,
0x78
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x47
,
0x65
,
0x6e
,
0x64
,
0x65
,
0x72
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x06
,
0x47
,
0x65
,
0x6e
,
0x64
,
0x65
,
0x72
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0d
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0xab
,
0x02
,
0x0a
,
0x11
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x56
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x05
,
0x56
,
0x61
,
0x6c
,
0x69
,
0x64
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x12
,
0x26
,
0x0a
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x12
,
0x26
,
0x0a
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x18
,
0x07
,
0x20
,
0x01
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x28
,
0x03
,
0x52
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x45
,
0x78
,
0x74
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x65
,
0x6f
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x47
,
0x65
,
0x6e
,
0x64
,
0x65
,
0x72
,
0x18
,
0x08
,
0x20
,
0x01
,
0x03
,
0x45
,
0x78
,
0x74
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x28
,
0x03
,
0x52
,
0x06
,
0x47
,
0x65
,
0x6e
,
0x64
,
0x65
,
0x72
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x43
,
0x72
,
0x6d
,
0x65
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x45
,
0x64
,
0x6d
,
0x65
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x20
,
0x0a
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x5f
,
0x0a
,
0x0f
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x74
,
0x75
,
0x73
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x26
,
0x0a
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x18
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x6d
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x52
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x72
,
0x6d
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0d
,
0x20
,
0x24
,
0x0a
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x87
,
0x03
,
0x0a
,
0x0b
,
0x32
,
0x08
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x50
,
0x61
,
0x67
,
0x65
,
0x52
,
0x08
,
0x50
,
0x61
,
0x67
,
0x11
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x32
,
0xf1
,
0x03
,
0x0a
,
0x06
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x73
,
0x74
,
0x12
,
0x22
,
0x0a
,
0x06
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x18
,
0x01
,
0x20
,
0x01
,
0x12
,
0x39
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x67
,
0x69
,
0x73
,
0x74
,
0x28
,
0x0b
,
0x32
,
0x0a
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x52
,
0x06
,
0x65
,
0x72
,
0x12
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x43
,
0x6f
,
0x6d
,
0x6d
,
0x6f
,
0x6e
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x04
,
0x50
,
0x61
,
0x67
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x4d
,
0x6f
,
0x62
,
0x69
,
0x6c
,
0x65
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x04
,
0x4e
,
0x61
,
0x6d
,
0x65
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x18
,
0x05
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x07
,
0x44
,
0x69
,
0x73
,
0x61
,
0x62
,
0x6c
,
0x65
,
0x12
,
0x22
,
0x0a
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x18
,
0x06
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0c
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x45
,
0x73
,
0x74
,
0x6f
,
0x70
,
0x70
,
0x65
,
0x6c
,
0x12
,
0x26
,
0x0a
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x18
,
0x07
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0e
,
0x4d
,
0x75
,
0x74
,
0x65
,
0x41
,
0x75
,
0x64
,
0x69
,
0x6f
,
0x56
,
0x69
,
0x64
,
0x65
,
0x6f
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x45
,
0x78
,
0x74
,
0x18
,
0x08
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x03
,
0x45
,
0x78
,
0x74
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x09
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x1e
,
0x0a
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0a
,
0x55
,
0x70
,
0x64
,
0x61
,
0x74
,
0x65
,
0x74
,
0x69
,
0x6d
,
0x65
,
0x12
,
0x20
,
0x0a
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x03
,
0x52
,
0x0b
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x53
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x50
,
0x6c
,
0x61
,
0x74
,
0x66
,
0x6f
,
0x72
,
0x6d
,
0x12
,
0x18
,
0x0a
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0d
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x07
,
0x45
,
0x64
,
0x69
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x5f
,
0x0a
,
0x0f
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x12
,
0x26
,
0x0a
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x52
,
0x04
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x24
,
0x0a
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x08
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x50
,
0x61
,
0x67
,
0x65
,
0x52
,
0x08
,
0x50
,
0x61
,
0x67
,
0x69
,
0x6e
,
0x61
,
0x74
,
0x65
,
0x32
,
0xad
,
0x03
,
0x0a
,
0x06
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x12
,
0x36
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x67
,
0x69
,
0x73
,
0x74
,
0x65
,
0x72
,
0x12
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x0f
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x33
,
0x0a
,
0x0b
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x12
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x0f
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3c
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x4f
,
0x75
,
0x74
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x75
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x42
,
0x0a
,
0x14
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x46
,
0x6f
,
0x72
,
0x62
,
0x69
,
0x64
,
0x64
,
0x65
,
0x6e
,
0x57
,
0x6f
,
0x72
,
0x64
,
0x73
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3f
,
0x0a
,
0x11
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x46
,
0x6f
,
0x72
,
0x62
,
0x69
,
0x64
,
0x64
,
0x65
,
0x6e
,
0x41
,
0x56
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x37
,
0x0a
,
0x09
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3a
,
0x0a
,
0x0a
,
0x49
,
0x72
,
0x52
,
0x65
,
0x67
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x35
,
0x0a
,
0x0a
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x15
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x75
,
0x73
,
0x65
,
0x72
,
0x53
,
0x61
,
0x76
,
0x65
,
0x12
,
0x11
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x1a
,
0x13
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x22
,
0x00
,
0x12
,
0x3b
,
0x0a
,
0x0b
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x12
,
0x16
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x52
,
0x65
,
0x67
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3e
,
0x0a
,
0x0e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x4f
,
0x75
,
0x74
,
0x12
,
0x16
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x6f
,
0x67
,
0x69
,
0x6e
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x42
,
0x0a
,
0x14
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x46
,
0x6f
,
0x72
,
0x62
,
0x69
,
0x64
,
0x64
,
0x65
,
0x6e
,
0x57
,
0x6f
,
0x72
,
0x64
,
0x73
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3f
,
0x0a
,
0x11
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x46
,
0x6f
,
0x72
,
0x62
,
0x69
,
0x64
,
0x64
,
0x65
,
0x6e
,
0x41
,
0x56
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x53
,
0x65
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x37
,
0x0a
,
0x09
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x12
,
0x14
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x12
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4f
,
0x6e
,
0x65
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x12
,
0x3a
,
0x0a
,
0x0a
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x12
,
0x15
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x71
,
0x75
,
0x65
,
0x73
,
0x74
,
0x1a
,
0x13
,
0x2e
,
0x70
,
0x62
,
0x2e
,
0x49
,
0x6d
,
0x55
,
0x73
,
0x65
,
0x72
,
0x4c
,
0x69
,
0x73
,
0x74
,
0x52
,
0x65
,
0x70
,
0x6c
,
0x79
,
0x22
,
0x00
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
}
var
(
var
(
...
@@ -862,42 +910,44 @@ func file_u_proto_im_user_proto_rawDescGZIP() []byte {
...
@@ -862,42 +910,44 @@ func file_u_proto_im_user_proto_rawDescGZIP() []byte {
var
file_u_proto_im_user_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
9
)
var
file_u_proto_im_user_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
9
)
var
file_u_proto_im_user_proto_goTypes
=
[]
interface
{}{
var
file_u_proto_im_user_proto_goTypes
=
[]
interface
{}{
(
*
ImUserRequest
)(
nil
),
// 0: pb.ImUserRequest
(
*
ImUserRequest
)(
nil
),
// 0: pb.ImUserRequest
(
*
ImUserRe
ply
)(
nil
),
// 1: pb.ImUser
Reply
(
*
ImUserRe
gReply
)(
nil
),
// 1: pb.ImUserReg
Reply
(
*
ImUser
OutRequest
)(
nil
),
// 2: pb.ImUserOut
Request
(
*
ImUser
LoginRequest
)(
nil
),
// 2: pb.ImUserLogin
Request
(
*
ImUserSetRequest
)(
nil
),
// 3: pb.ImUserSetRequest
(
*
ImUserSetRequest
)(
nil
),
// 3: pb.ImUserSetRequest
(
*
ImUserSetReply
)(
nil
),
// 4: pb.ImUserSetReply
(
*
ImUserSetReply
)(
nil
),
// 4: pb.ImUserSetReply
(
*
ImUserOneRequest
)(
nil
),
// 5: pb.ImUserOneRequest
(
*
ImUserOneRequest
)(
nil
),
// 5: pb.ImUserOneRequest
(
*
ImUserOneReply
)(
nil
),
// 6: pb.ImUserOneReply
(
*
ImUserOneReply
)(
nil
),
// 6: pb.ImUserOneReply
(
*
ImUserListRequest
)(
nil
),
// 7: pb.ImUserListRequest
(
*
ImUserListRequest
)(
nil
),
// 7: pb.ImUserListRequest
(
*
ImUserListReply
)(
nil
),
// 8: pb.ImUserListReply
(
*
ImUserListReply
)(
nil
),
// 8: pb.ImUserListReply
(
*
Common
)(
nil
),
// 9: pb.Common
(
*
Common
)(
nil
),
// 9: pb.Common
(
*
Page
)(
nil
),
// 10: pb.Page
(
*
Page
)(
nil
),
// 10: pb.Page
}
}
var
file_u_proto_im_user_proto_depIdxs
=
[]
int32
{
var
file_u_proto_im_user_proto_depIdxs
=
[]
int32
{
9
,
// 0: pb.ImUserRequest.Common:type_name -> pb.Common
9
,
// 0: pb.ImUserRequest.Common:type_name -> pb.Common
9
,
// 1: pb.ImUser
Out
Request.Common:type_name -> pb.Common
9
,
// 1: pb.ImUser
Login
Request.Common:type_name -> pb.Common
9
,
// 2: pb.ImUserSetRequest.Common:type_name -> pb.Common
9
,
// 2: pb.ImUserSetRequest.Common:type_name -> pb.Common
9
,
// 3: pb.ImUserOneRequest.Common:type_name -> pb.Common
9
,
// 3: pb.ImUserOneRequest.Common:type_name -> pb.Common
9
,
// 4: pb.ImUserListRequest.Common:type_name -> pb.Common
9
,
// 4: pb.ImUserListRequest.Common:type_name -> pb.Common
6
,
// 5: pb.ImUserListReply.List:type_name -> pb.ImUserOneReply
6
,
// 5: pb.ImUserListReply.List:type_name -> pb.ImUserOneReply
10
,
// 6: pb.ImUserListReply.Paginate:type_name -> pb.Page
10
,
// 6: pb.ImUserListReply.Paginate:type_name -> pb.Page
0
,
// 7: pb.ImUser.ImUserRegister:input_type -> pb.ImUserRequest
0
,
// 7: pb.ImUser.ImUserRegister:input_type -> pb.ImUserRequest
0
,
// 8: pb.ImUser.ImUserLogin:input_type -> pb.ImUserRequest
0
,
// 8: pb.ImUser.ImuserSave:input_type -> pb.ImUserRequest
2
,
// 9: pb.ImUser.ImUserLoginOut:input_type -> pb.ImUserOutRequest
2
,
// 9: pb.ImUser.ImUserLogin:input_type -> pb.ImUserLoginRequest
3
,
// 10: pb.ImUser.ImUserForbiddenWords:input_type -> pb.ImUserSetRequest
2
,
// 10: pb.ImUser.ImUserLoginOut:input_type -> pb.ImUserLoginRequest
3
,
// 11: pb.ImUser.ImUserForbiddenAV:input_type -> pb.ImUserSetRequest
3
,
// 11: pb.ImUser.ImUserForbiddenWords:input_type -> pb.ImUserSetRequest
5
,
// 12: pb.ImUser.ImUserOne:input_type -> pb.ImUserOneRequest
3
,
// 12: pb.ImUser.ImUserForbiddenAV:input_type -> pb.ImUserSetRequest
7
,
// 13: pb.ImUser.ImUserList:input_type -> pb.ImUserListRequest
5
,
// 13: pb.ImUser.ImUserOne:input_type -> pb.ImUserOneRequest
1
,
// 14: pb.ImUser.ImUserRegister:output_type -> pb.ImUserReply
7
,
// 14: pb.ImUser.ImUserList:input_type -> pb.ImUserListRequest
1
,
// 15: pb.ImUser.ImUserLogin:output_type -> pb.ImUserReply
1
,
// 15: pb.ImUser.ImUserRegister:output_type -> pb.ImUserRegReply
4
,
// 16: pb.ImUser.ImUserLoginOut:output_type -> pb.ImUserSetReply
4
,
// 16: pb.ImUser.ImuserSave:output_type -> pb.ImUserSetReply
4
,
// 17: pb.ImUser.ImUserForbiddenWords:output_type -> pb.ImUserSetReply
1
,
// 17: pb.ImUser.ImUserLogin:output_type -> pb.ImUserRegReply
4
,
// 18: pb.ImUser.ImUserForbiddenAV:output_type -> pb.ImUserSetReply
4
,
// 18: pb.ImUser.ImUserLoginOut:output_type -> pb.ImUserSetReply
6
,
// 19: pb.ImUser.ImUserOne:output_type -> pb.ImUserOneReply
4
,
// 19: pb.ImUser.ImUserForbiddenWords:output_type -> pb.ImUserSetReply
8
,
// 20: pb.ImUser.ImUserList:output_type -> pb.ImUserListReply
4
,
// 20: pb.ImUser.ImUserForbiddenAV:output_type -> pb.ImUserSetReply
14
,
// [14:21] is the sub-list for method output_type
6
,
// 21: pb.ImUser.ImUserOne:output_type -> pb.ImUserOneReply
7
,
// [7:14] is the sub-list for method input_type
8
,
// 22: pb.ImUser.ImUserList:output_type -> pb.ImUserListReply
15
,
// [15:23] is the sub-list for method output_type
7
,
// [7:15] is the sub-list for method input_type
7
,
// [7:7] is the sub-list for extension type_name
7
,
// [7:7] is the sub-list for extension type_name
7
,
// [7:7] is the sub-list for extension extendee
7
,
// [7:7] is the sub-list for extension extendee
0
,
// [0:7] is the sub-list for field type_name
0
,
// [0:7] is the sub-list for field type_name
...
@@ -923,7 +973,7 @@ func file_u_proto_im_user_proto_init() {
...
@@ -923,7 +973,7 @@ func file_u_proto_im_user_proto_init() {
}
}
}
}
file_u_proto_im_user_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_u_proto_im_user_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
ImUserReply
);
i
{
switch
v
:=
v
.
(
*
ImUserRe
gRe
ply
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
case
1
:
case
1
:
...
@@ -935,7 +985,7 @@ func file_u_proto_im_user_proto_init() {
...
@@ -935,7 +985,7 @@ func file_u_proto_im_user_proto_init() {
}
}
}
}
file_u_proto_im_user_proto_msgTypes
[
2
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_u_proto_im_user_proto_msgTypes
[
2
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
ImUser
Out
Request
);
i
{
switch
v
:=
v
.
(
*
ImUser
Login
Request
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
case
1
:
case
1
:
...
@@ -1051,9 +1101,10 @@ const _ = grpc.SupportPackageIsVersion6
...
@@ -1051,9 +1101,10 @@ const _ = grpc.SupportPackageIsVersion6
//
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type
ImUserClient
interface
{
type
ImUserClient
interface
{
ImUserRegister
(
ctx
context
.
Context
,
in
*
ImUserRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserReply
,
error
)
ImUserRegister
(
ctx
context
.
Context
,
in
*
ImUserRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserRegReply
,
error
)
ImUserLogin
(
ctx
context
.
Context
,
in
*
ImUserRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserReply
,
error
)
ImuserSave
(
ctx
context
.
Context
,
in
*
ImUserRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
ImUserLoginOut
(
ctx
context
.
Context
,
in
*
ImUserOutRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
ImUserLogin
(
ctx
context
.
Context
,
in
*
ImUserLoginRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserRegReply
,
error
)
ImUserLoginOut
(
ctx
context
.
Context
,
in
*
ImUserLoginRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
ImUserForbiddenWords
(
ctx
context
.
Context
,
in
*
ImUserSetRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
ImUserForbiddenWords
(
ctx
context
.
Context
,
in
*
ImUserSetRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
ImUserForbiddenAV
(
ctx
context
.
Context
,
in
*
ImUserSetRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
ImUserForbiddenAV
(
ctx
context
.
Context
,
in
*
ImUserSetRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
ImUserOne
(
ctx
context
.
Context
,
in
*
ImUserOneRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserOneReply
,
error
)
ImUserOne
(
ctx
context
.
Context
,
in
*
ImUserOneRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserOneReply
,
error
)
...
@@ -1068,8 +1119,8 @@ func NewImUserClient(cc grpc.ClientConnInterface) ImUserClient {
...
@@ -1068,8 +1119,8 @@ func NewImUserClient(cc grpc.ClientConnInterface) ImUserClient {
return
&
imUserClient
{
cc
}
return
&
imUserClient
{
cc
}
}
}
func
(
c
*
imUserClient
)
ImUserRegister
(
ctx
context
.
Context
,
in
*
ImUserRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserReply
,
error
)
{
func
(
c
*
imUserClient
)
ImUserRegister
(
ctx
context
.
Context
,
in
*
ImUserRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserRe
gRe
ply
,
error
)
{
out
:=
new
(
ImUserReply
)
out
:=
new
(
ImUserRe
gRe
ply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ImUser/ImUserRegister"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ImUser/ImUserRegister"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
...
@@ -1077,8 +1128,17 @@ func (c *imUserClient) ImUserRegister(ctx context.Context, in *ImUserRequest, op
...
@@ -1077,8 +1128,17 @@ func (c *imUserClient) ImUserRegister(ctx context.Context, in *ImUserRequest, op
return
out
,
nil
return
out
,
nil
}
}
func
(
c
*
imUserClient
)
ImUserLogin
(
ctx
context
.
Context
,
in
*
ImUserRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserReply
,
error
)
{
func
(
c
*
imUserClient
)
ImuserSave
(
ctx
context
.
Context
,
in
*
ImUserRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
{
out
:=
new
(
ImUserReply
)
out
:=
new
(
ImUserSetReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ImUser/ImuserSave"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
imUserClient
)
ImUserLogin
(
ctx
context
.
Context
,
in
*
ImUserLoginRequest
,
opts
...
grpc
.
CallOption
)
(
*
ImUserRegReply
,
error
)
{
out
:=
new
(
ImUserRegReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ImUser/ImUserLogin"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ImUser/ImUserLogin"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
...
@@ -1086,7 +1146,7 @@ func (c *imUserClient) ImUserLogin(ctx context.Context, in *ImUserRequest, opts
...
@@ -1086,7 +1146,7 @@ func (c *imUserClient) ImUserLogin(ctx context.Context, in *ImUserRequest, opts
return
out
,
nil
return
out
,
nil
}
}
func
(
c
*
imUserClient
)
ImUserLoginOut
(
ctx
context
.
Context
,
in
*
ImUser
Out
Request
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
{
func
(
c
*
imUserClient
)
ImUserLoginOut
(
ctx
context
.
Context
,
in
*
ImUser
Login
Request
,
opts
...
grpc
.
CallOption
)
(
*
ImUserSetReply
,
error
)
{
out
:=
new
(
ImUserSetReply
)
out
:=
new
(
ImUserSetReply
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ImUser/ImUserLoginOut"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/pb.ImUser/ImUserLoginOut"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
...
@@ -1133,9 +1193,10 @@ func (c *imUserClient) ImUserList(ctx context.Context, in *ImUserListRequest, op
...
@@ -1133,9 +1193,10 @@ func (c *imUserClient) ImUserList(ctx context.Context, in *ImUserListRequest, op
// ImUserServer is the server API for ImUser service.
// ImUserServer is the server API for ImUser service.
type
ImUserServer
interface
{
type
ImUserServer
interface
{
ImUserRegister
(
context
.
Context
,
*
ImUserRequest
)
(
*
ImUserReply
,
error
)
ImUserRegister
(
context
.
Context
,
*
ImUserRequest
)
(
*
ImUserRegReply
,
error
)
ImUserLogin
(
context
.
Context
,
*
ImUserRequest
)
(
*
ImUserReply
,
error
)
ImuserSave
(
context
.
Context
,
*
ImUserRequest
)
(
*
ImUserSetReply
,
error
)
ImUserLoginOut
(
context
.
Context
,
*
ImUserOutRequest
)
(
*
ImUserSetReply
,
error
)
ImUserLogin
(
context
.
Context
,
*
ImUserLoginRequest
)
(
*
ImUserRegReply
,
error
)
ImUserLoginOut
(
context
.
Context
,
*
ImUserLoginRequest
)
(
*
ImUserSetReply
,
error
)
ImUserForbiddenWords
(
context
.
Context
,
*
ImUserSetRequest
)
(
*
ImUserSetReply
,
error
)
ImUserForbiddenWords
(
context
.
Context
,
*
ImUserSetRequest
)
(
*
ImUserSetReply
,
error
)
ImUserForbiddenAV
(
context
.
Context
,
*
ImUserSetRequest
)
(
*
ImUserSetReply
,
error
)
ImUserForbiddenAV
(
context
.
Context
,
*
ImUserSetRequest
)
(
*
ImUserSetReply
,
error
)
ImUserOne
(
context
.
Context
,
*
ImUserOneRequest
)
(
*
ImUserOneReply
,
error
)
ImUserOne
(
context
.
Context
,
*
ImUserOneRequest
)
(
*
ImUserOneReply
,
error
)
...
@@ -1146,13 +1207,16 @@ type ImUserServer interface {
...
@@ -1146,13 +1207,16 @@ type ImUserServer interface {
type
UnimplementedImUserServer
struct
{
type
UnimplementedImUserServer
struct
{
}
}
func
(
*
UnimplementedImUserServer
)
ImUserRegister
(
context
.
Context
,
*
ImUserRequest
)
(
*
ImUserReply
,
error
)
{
func
(
*
UnimplementedImUserServer
)
ImUserRegister
(
context
.
Context
,
*
ImUserRequest
)
(
*
ImUserRe
gRe
ply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ImUserRegister not implemented"
)
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ImUserRegister not implemented"
)
}
}
func
(
*
UnimplementedImUserServer
)
ImUserLogin
(
context
.
Context
,
*
ImUserRequest
)
(
*
ImUserReply
,
error
)
{
func
(
*
UnimplementedImUserServer
)
ImuserSave
(
context
.
Context
,
*
ImUserRequest
)
(
*
ImUserSetReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ImuserSave not implemented"
)
}
func
(
*
UnimplementedImUserServer
)
ImUserLogin
(
context
.
Context
,
*
ImUserLoginRequest
)
(
*
ImUserRegReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ImUserLogin not implemented"
)
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ImUserLogin not implemented"
)
}
}
func
(
*
UnimplementedImUserServer
)
ImUserLoginOut
(
context
.
Context
,
*
ImUser
Out
Request
)
(
*
ImUserSetReply
,
error
)
{
func
(
*
UnimplementedImUserServer
)
ImUserLoginOut
(
context
.
Context
,
*
ImUser
Login
Request
)
(
*
ImUserSetReply
,
error
)
{
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ImUserLoginOut not implemented"
)
return
nil
,
status
.
Errorf
(
codes
.
Unimplemented
,
"method ImUserLoginOut not implemented"
)
}
}
func
(
*
UnimplementedImUserServer
)
ImUserForbiddenWords
(
context
.
Context
,
*
ImUserSetRequest
)
(
*
ImUserSetReply
,
error
)
{
func
(
*
UnimplementedImUserServer
)
ImUserForbiddenWords
(
context
.
Context
,
*
ImUserSetRequest
)
(
*
ImUserSetReply
,
error
)
{
...
@@ -1190,12 +1254,30 @@ func _ImUser_ImUserRegister_Handler(srv interface{}, ctx context.Context, dec fu
...
@@ -1190,12 +1254,30 @@ func _ImUser_ImUserRegister_Handler(srv interface{}, ctx context.Context, dec fu
return
interceptor
(
ctx
,
in
,
info
,
handler
)
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
}
func
_ImUser_Im
UserLogin
_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
func
_ImUser_Im
userSave
_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
ImUserRequest
)
in
:=
new
(
ImUserRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
if
interceptor
==
nil
{
if
interceptor
==
nil
{
return
srv
.
(
ImUserServer
)
.
ImuserSave
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/pb.ImUser/ImuserSave"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ImUserServer
)
.
ImuserSave
(
ctx
,
req
.
(
*
ImUserRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_ImUser_ImUserLogin_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
ImUserLoginRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
ImUserServer
)
.
ImUserLogin
(
ctx
,
in
)
return
srv
.
(
ImUserServer
)
.
ImUserLogin
(
ctx
,
in
)
}
}
info
:=
&
grpc
.
UnaryServerInfo
{
info
:=
&
grpc
.
UnaryServerInfo
{
...
@@ -1203,13 +1285,13 @@ func _ImUser_ImUserLogin_Handler(srv interface{}, ctx context.Context, dec func(
...
@@ -1203,13 +1285,13 @@ func _ImUser_ImUserLogin_Handler(srv interface{}, ctx context.Context, dec func(
FullMethod
:
"/pb.ImUser/ImUserLogin"
,
FullMethod
:
"/pb.ImUser/ImUserLogin"
,
}
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ImUserServer
)
.
ImUserLogin
(
ctx
,
req
.
(
*
ImUserRequest
))
return
srv
.
(
ImUserServer
)
.
ImUserLogin
(
ctx
,
req
.
(
*
ImUser
Login
Request
))
}
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
}
func
_ImUser_ImUserLoginOut_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
func
_ImUser_ImUserLoginOut_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
ImUser
Out
Request
)
in
:=
new
(
ImUser
Login
Request
)
if
err
:=
dec
(
in
);
err
!=
nil
{
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -1221,7 +1303,7 @@ func _ImUser_ImUserLoginOut_Handler(srv interface{}, ctx context.Context, dec fu
...
@@ -1221,7 +1303,7 @@ func _ImUser_ImUserLoginOut_Handler(srv interface{}, ctx context.Context, dec fu
FullMethod
:
"/pb.ImUser/ImUserLoginOut"
,
FullMethod
:
"/pb.ImUser/ImUserLoginOut"
,
}
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
ImUserServer
)
.
ImUserLoginOut
(
ctx
,
req
.
(
*
ImUser
Out
Request
))
return
srv
.
(
ImUserServer
)
.
ImUserLoginOut
(
ctx
,
req
.
(
*
ImUser
Login
Request
))
}
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
}
...
@@ -1307,6 +1389,10 @@ var _ImUser_serviceDesc = grpc.ServiceDesc{
...
@@ -1307,6 +1389,10 @@ var _ImUser_serviceDesc = grpc.ServiceDesc{
Handler
:
_ImUser_ImUserRegister_Handler
,
Handler
:
_ImUser_ImUserRegister_Handler
,
},
},
{
{
MethodName
:
"ImuserSave"
,
Handler
:
_ImUser_ImuserSave_Handler
,
},
{
MethodName
:
"ImUserLogin"
,
MethodName
:
"ImUserLogin"
,
Handler
:
_ImUser_ImUserLogin_Handler
,
Handler
:
_ImUser_ImUserLogin_Handler
,
},
},
...
...
pb/im_user.validator.pb.go
View file @
1528762b
...
@@ -5,10 +5,10 @@ package pb
...
@@ -5,10 +5,10 @@ package pb
import
(
import
(
fmt
"fmt"
fmt
"fmt"
math
"math"
proto
"github.com/golang/protobuf/proto"
proto
"github.com/golang/protobuf/proto"
_
"github.com/mwitkow/go-proto-validators"
_
"github.com/mwitkow/go-proto-validators"
github_com_mwitkow_go_proto_validators
"github.com/mwitkow/go-proto-validators"
github_com_mwitkow_go_proto_validators
"github.com/mwitkow/go-proto-validators"
math
"math"
)
)
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
...
@@ -22,24 +22,15 @@ func (this *ImUserRequest) Validate() error {
...
@@ -22,24 +22,15 @@ func (this *ImUserRequest) Validate() error {
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
}
}
}
}
if
this
.
Mobile
==
""
{
if
this
.
Accid
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Mobile"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Mobile
))
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Accid"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Accid
))
}
if
!
(
len
(
this
.
Mobile
)
==
11
)
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Mobile"
,
fmt
.
Errorf
(
`value '%v' must have a length equal to '11'`
,
this
.
Mobile
))
}
if
this
.
Code
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Code"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Code
))
}
if
this
.
Platform
==
""
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Platform"
,
fmt
.
Errorf
(
`value '%v' must not be an empty string`
,
this
.
Platform
))
}
}
return
nil
return
nil
}
}
func
(
this
*
ImUserReply
)
Validate
()
error
{
func
(
this
*
ImUserRe
gRe
ply
)
Validate
()
error
{
return
nil
return
nil
}
}
func
(
this
*
ImUser
Out
Request
)
Validate
()
error
{
func
(
this
*
ImUser
Login
Request
)
Validate
()
error
{
if
this
.
Common
!=
nil
{
if
this
.
Common
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
this
.
Common
);
err
!=
nil
{
if
err
:=
github_com_mwitkow_go_proto_validators
.
CallValidatorIfExists
(
this
.
Common
);
err
!=
nil
{
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
return
github_com_mwitkow_go_proto_validators
.
FieldError
(
"Common"
,
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment