pb

package
v0.0.0-...-efd9455 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RecvMsgOpt_name = map[int32]string{
		0: "ReceiveMessage",
		1: "NotReceiveMessage",
		2: "ReceiveNotNotifyMessage",
	}
	RecvMsgOpt_value = map[string]int32{
		"ReceiveMessage":          0,
		"NotReceiveMessage":       1,
		"ReceiveNotNotifyMessage": 2,
	}
)

Enum value maps for RecvMsgOpt.

View Source
var (
	RelationBaseResp_Errno_name = map[int32]string{
		0: "OK",
		1: "ERROR",
	}
	RelationBaseResp_Errno_value = map[string]int32{
		"OK":    0,
		"ERROR": 1,
	}
)

Enum value maps for RelationBaseResp_Errno.

View Source
var (
	UpdateApplyFriendStatusReq_Status_name = map[int32]string{
		0: "AGREE",
		1: "REFUSE",
	}
	UpdateApplyFriendStatusReq_Status_value = map[string]int32{
		"AGREE":  0,
		"REFUSE": 1,
	}
)

Enum value maps for UpdateApplyFriendStatusReq_Status.

View Source
var (
	GetApplyFriendListResp_ApplyFriend_Status_name = map[int32]string{
		0: "Applying",
		1: "AGREE",
		2: "REFUSE",
	}
	GetApplyFriendListResp_ApplyFriend_Status_value = map[string]int32{
		"Applying": 0,
		"AGREE":    1,
		"REFUSE":   2,
	}
)

Enum value maps for GetApplyFriendListResp_ApplyFriend_Status.

View Source
var (
	BaseResp_Errno_name = map[int32]string{
		0: "OK",
		1: "ERROR",
	}
	BaseResp_Errno_value = map[string]int32{
		"OK":    0,
		"ERROR": 1,
	}
)

Enum value maps for BaseResp_Errno.

View Source
var File_im_user_proto protoreflect.FileDescriptor
View Source
var File_relation_proto protoreflect.FileDescriptor
View Source
var ImUserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "imuser.imUserService",
	HandlerType: (*ImUserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetGroupMemberIDListFromCache",
			Handler:    _ImUserService_GetGroupMemberIDListFromCache_Handler,
		},
		{
			MethodName: "IfAInBBlacklist",
			Handler:    _ImUserService_IfAInBBlacklist_Handler,
		},
		{
			MethodName: "IfAInBFriendList",
			Handler:    _ImUserService_IfAInBFriendList_Handler,
		},
		{
			MethodName: "GetSingleConversationRecvMsgOpts",
			Handler:    _ImUserService_GetSingleConversationRecvMsgOpts_Handler,
		},
		{
			MethodName: "GetUserListFromSuperGroupWithOpt",
			Handler:    _ImUserService_GetUserListFromSuperGroupWithOpt_Handler,
		},
		{
			MethodName: "VerifyToken",
			Handler:    _ImUserService_VerifyToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "im-user.proto",
}

ImUserService_ServiceDesc is the grpc.ServiceDesc for ImUserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RelationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "relation.relationService",
	HandlerType: (*RelationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ApplyFriend",
			Handler:    _RelationService_ApplyFriend_Handler,
		},
		{
			MethodName: "UpdateApplyFriendStatus",
			Handler:    _RelationService_UpdateApplyFriendStatus_Handler,
		},
		{
			MethodName: "GetApplyFriendList",
			Handler:    _RelationService_GetApplyFriendList_Handler,
		},
		{
			MethodName: "GetFriendList",
			Handler:    _RelationService_GetFriendList_Handler,
		},
		{
			MethodName: "DeleteFriend",
			Handler:    _RelationService_DeleteFriend_Handler,
		},
		{
			MethodName: "GetBlackList",
			Handler:    _RelationService_GetBlackList_Handler,
		},
		{
			MethodName: "DeleteBlack",
			Handler:    _RelationService_DeleteBlack_Handler,
		},
		{
			MethodName: "BlackUser",
			Handler:    _RelationService_BlackUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "relation.proto",
}

RelationService_ServiceDesc is the grpc.ServiceDesc for RelationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "user.userService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserById",
			Handler:    _UserService_GetUserById_Handler,
		},
		{
			MethodName: "GetUserByIds",
			Handler:    _UserService_GetUserByIds_Handler,
		},
		{
			MethodName: "GetUserByUsername",
			Handler:    _UserService_GetUserByUsername_Handler,
		},
		{
			MethodName: "InsertUser",
			Handler:    _UserService_InsertUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _UserService_UpdateUser_Handler,
		},
		{
			MethodName: "LoginByPassword",
			Handler:    _UserService_LoginByPassword_Handler,
		},
		{
			MethodName: "LoginById",
			Handler:    _UserService_LoginById_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterImUserServiceServer

func RegisterImUserServiceServer(s grpc.ServiceRegistrar, srv ImUserServiceServer)

func RegisterRelationServiceServer

func RegisterRelationServiceServer(s grpc.ServiceRegistrar, srv RelationServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type ApplyFriendReq

type ApplyFriendReq struct {
	ApplyUserId string `protobuf:"bytes,1,opt,name=applyUserId,proto3" json:"applyUserId,omitempty"` // 申请人
	UserId      string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`           // 被申请人
	Message     string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`         // 申请信息
	// contains filtered or unexported fields
}

func (*ApplyFriendReq) Descriptor deprecated

func (*ApplyFriendReq) Descriptor() ([]byte, []int)

Deprecated: Use ApplyFriendReq.ProtoReflect.Descriptor instead.

func (*ApplyFriendReq) GetApplyUserId

func (x *ApplyFriendReq) GetApplyUserId() string

func (*ApplyFriendReq) GetMessage

func (x *ApplyFriendReq) GetMessage() string

func (*ApplyFriendReq) GetUserId

func (x *ApplyFriendReq) GetUserId() string

func (*ApplyFriendReq) ProtoMessage

func (*ApplyFriendReq) ProtoMessage()

func (*ApplyFriendReq) ProtoReflect

func (x *ApplyFriendReq) ProtoReflect() protoreflect.Message

func (*ApplyFriendReq) Reset

func (x *ApplyFriendReq) Reset()

func (*ApplyFriendReq) String

func (x *ApplyFriendReq) String() string

type ApplyFriendResp

type ApplyFriendResp struct {
	BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyFriendResp) Descriptor deprecated

func (*ApplyFriendResp) Descriptor() ([]byte, []int)

Deprecated: Use ApplyFriendResp.ProtoReflect.Descriptor instead.

func (*ApplyFriendResp) GetBaseResp

func (x *ApplyFriendResp) GetBaseResp() *RelationBaseResp

func (*ApplyFriendResp) ProtoMessage

func (*ApplyFriendResp) ProtoMessage()

func (*ApplyFriendResp) ProtoReflect

func (x *ApplyFriendResp) ProtoReflect() protoreflect.Message

func (*ApplyFriendResp) Reset

func (x *ApplyFriendResp) Reset()

func (*ApplyFriendResp) String

func (x *ApplyFriendResp) String() string

type BaseResp

type BaseResp struct {
	ErrCode BaseResp_Errno `protobuf:"varint,1,opt,name=errCode,proto3,enum=user.BaseResp_Errno" json:"errCode,omitempty"`
	ErrMsg  string         `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseResp) Descriptor deprecated

func (*BaseResp) Descriptor() ([]byte, []int)

Deprecated: Use BaseResp.ProtoReflect.Descriptor instead.

func (*BaseResp) GetErrCode

func (x *BaseResp) GetErrCode() BaseResp_Errno

func (*BaseResp) GetErrMsg

func (x *BaseResp) GetErrMsg() string

func (*BaseResp) ProtoMessage

func (*BaseResp) ProtoMessage()

func (*BaseResp) ProtoReflect

func (x *BaseResp) ProtoReflect() protoreflect.Message

func (*BaseResp) Reset

func (x *BaseResp) Reset()

func (*BaseResp) String

func (x *BaseResp) String() string

type BaseResp_Errno

type BaseResp_Errno int32
const (
	BaseResp_OK    BaseResp_Errno = 0
	BaseResp_ERROR BaseResp_Errno = 1
)

func (BaseResp_Errno) Descriptor

func (BaseResp_Errno) Enum

func (x BaseResp_Errno) Enum() *BaseResp_Errno

func (BaseResp_Errno) EnumDescriptor deprecated

func (BaseResp_Errno) EnumDescriptor() ([]byte, []int)

Deprecated: Use BaseResp_Errno.Descriptor instead.

func (BaseResp_Errno) Number

func (BaseResp_Errno) String

func (x BaseResp_Errno) String() string

func (BaseResp_Errno) Type

type BlackUserReq

type BlackUserReq struct {
	SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id
	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 好友id
	// contains filtered or unexported fields
}

func (*BlackUserReq) Descriptor deprecated

func (*BlackUserReq) Descriptor() ([]byte, []int)

Deprecated: Use BlackUserReq.ProtoReflect.Descriptor instead.

func (*BlackUserReq) GetSelfId

func (x *BlackUserReq) GetSelfId() string

func (*BlackUserReq) GetUserId

func (x *BlackUserReq) GetUserId() string

func (*BlackUserReq) ProtoMessage

func (*BlackUserReq) ProtoMessage()

func (*BlackUserReq) ProtoReflect

func (x *BlackUserReq) ProtoReflect() protoreflect.Message

func (*BlackUserReq) Reset

func (x *BlackUserReq) Reset()

func (*BlackUserReq) String

func (x *BlackUserReq) String() string

type BlackUserResp

type BlackUserResp struct {
	BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*BlackUserResp) Descriptor deprecated

func (*BlackUserResp) Descriptor() ([]byte, []int)

Deprecated: Use BlackUserResp.ProtoReflect.Descriptor instead.

func (*BlackUserResp) GetBaseResp

func (x *BlackUserResp) GetBaseResp() *RelationBaseResp

func (*BlackUserResp) ProtoMessage

func (*BlackUserResp) ProtoMessage()

func (*BlackUserResp) ProtoReflect

func (x *BlackUserResp) ProtoReflect() protoreflect.Message

func (*BlackUserResp) Reset

func (x *BlackUserResp) Reset()

func (*BlackUserResp) String

func (x *BlackUserResp) String() string

type CommonResp

type CommonResp struct {
	ErrCode int32  `protobuf:"varint,1,opt,name=errCode,proto3" json:"errCode,omitempty"`
	ErrMsg  string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonResp) Descriptor deprecated

func (*CommonResp) Descriptor() ([]byte, []int)

Deprecated: Use CommonResp.ProtoReflect.Descriptor instead.

func (*CommonResp) GetErrCode

func (x *CommonResp) GetErrCode() int32

func (*CommonResp) GetErrMsg

func (x *CommonResp) GetErrMsg() string

func (*CommonResp) ProtoMessage

func (*CommonResp) ProtoMessage()

func (*CommonResp) ProtoReflect

func (x *CommonResp) ProtoReflect() protoreflect.Message

func (*CommonResp) Reset

func (x *CommonResp) Reset()

func (*CommonResp) String

func (x *CommonResp) String() string

type DeleteBlackReq

type DeleteBlackReq struct {
	SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id
	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 好友id
	// contains filtered or unexported fields
}

func (*DeleteBlackReq) Descriptor deprecated

func (*DeleteBlackReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBlackReq.ProtoReflect.Descriptor instead.

func (*DeleteBlackReq) GetSelfId

func (x *DeleteBlackReq) GetSelfId() string

func (*DeleteBlackReq) GetUserId

func (x *DeleteBlackReq) GetUserId() string

func (*DeleteBlackReq) ProtoMessage

func (*DeleteBlackReq) ProtoMessage()

func (*DeleteBlackReq) ProtoReflect

func (x *DeleteBlackReq) ProtoReflect() protoreflect.Message

func (*DeleteBlackReq) Reset

func (x *DeleteBlackReq) Reset()

func (*DeleteBlackReq) String

func (x *DeleteBlackReq) String() string

type DeleteBlackResp

type DeleteBlackResp struct {
	BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBlackResp) Descriptor deprecated

func (*DeleteBlackResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBlackResp.ProtoReflect.Descriptor instead.

func (*DeleteBlackResp) GetBaseResp

func (x *DeleteBlackResp) GetBaseResp() *RelationBaseResp

func (*DeleteBlackResp) ProtoMessage

func (*DeleteBlackResp) ProtoMessage()

func (*DeleteBlackResp) ProtoReflect

func (x *DeleteBlackResp) ProtoReflect() protoreflect.Message

func (*DeleteBlackResp) Reset

func (x *DeleteBlackResp) Reset()

func (*DeleteBlackResp) String

func (x *DeleteBlackResp) String() string

type DeleteFriendReq

type DeleteFriendReq struct {
	SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id
	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // 好友id
	// contains filtered or unexported fields
}

func (*DeleteFriendReq) Descriptor deprecated

func (*DeleteFriendReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFriendReq.ProtoReflect.Descriptor instead.

func (*DeleteFriendReq) GetSelfId

func (x *DeleteFriendReq) GetSelfId() string

func (*DeleteFriendReq) GetUserId

func (x *DeleteFriendReq) GetUserId() string

func (*DeleteFriendReq) ProtoMessage

func (*DeleteFriendReq) ProtoMessage()

func (*DeleteFriendReq) ProtoReflect

func (x *DeleteFriendReq) ProtoReflect() protoreflect.Message

func (*DeleteFriendReq) Reset

func (x *DeleteFriendReq) Reset()

func (*DeleteFriendReq) String

func (x *DeleteFriendReq) String() string

type DeleteFriendResp

type DeleteFriendResp struct {
	BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFriendResp) Descriptor deprecated

func (*DeleteFriendResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFriendResp.ProtoReflect.Descriptor instead.

func (*DeleteFriendResp) GetBaseResp

func (x *DeleteFriendResp) GetBaseResp() *RelationBaseResp

func (*DeleteFriendResp) ProtoMessage

func (*DeleteFriendResp) ProtoMessage()

func (*DeleteFriendResp) ProtoReflect

func (x *DeleteFriendResp) ProtoReflect() protoreflect.Message

func (*DeleteFriendResp) Reset

func (x *DeleteFriendResp) Reset()

func (*DeleteFriendResp) String

func (x *DeleteFriendResp) String() string

type GetApplyFriendListReq

type GetApplyFriendListReq struct {
	SelfId  string   `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id
	PageReq *PageReq `protobuf:"bytes,2,opt,name=pageReq,proto3" json:"pageReq,omitempty"`
	// contains filtered or unexported fields
}

func (*GetApplyFriendListReq) Descriptor deprecated

func (*GetApplyFriendListReq) Descriptor() ([]byte, []int)

Deprecated: Use GetApplyFriendListReq.ProtoReflect.Descriptor instead.

func (*GetApplyFriendListReq) GetPageReq

func (x *GetApplyFriendListReq) GetPageReq() *PageReq

func (*GetApplyFriendListReq) GetSelfId

func (x *GetApplyFriendListReq) GetSelfId() string

func (*GetApplyFriendListReq) ProtoMessage

func (*GetApplyFriendListReq) ProtoMessage()

func (*GetApplyFriendListReq) ProtoReflect

func (x *GetApplyFriendListReq) ProtoReflect() protoreflect.Message

func (*GetApplyFriendListReq) Reset

func (x *GetApplyFriendListReq) Reset()

func (*GetApplyFriendListReq) String

func (x *GetApplyFriendListReq) String() string

type GetApplyFriendListResp

type GetApplyFriendListResp struct {
	BaseResp        *RelationBaseResp                     `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	PageResp        *PageResp                             `protobuf:"bytes,2,opt,name=pageResp,proto3" json:"pageResp,omitempty"`
	ApplyFriendList []*GetApplyFriendListResp_ApplyFriend `protobuf:"bytes,3,rep,name=applyFriendList,proto3" json:"applyFriendList,omitempty"`
	// contains filtered or unexported fields
}

func (*GetApplyFriendListResp) Descriptor deprecated

func (*GetApplyFriendListResp) Descriptor() ([]byte, []int)

Deprecated: Use GetApplyFriendListResp.ProtoReflect.Descriptor instead.

func (*GetApplyFriendListResp) GetApplyFriendList

func (*GetApplyFriendListResp) GetBaseResp

func (x *GetApplyFriendListResp) GetBaseResp() *RelationBaseResp

func (*GetApplyFriendListResp) GetPageResp

func (x *GetApplyFriendListResp) GetPageResp() *PageResp

func (*GetApplyFriendListResp) ProtoMessage

func (*GetApplyFriendListResp) ProtoMessage()

func (*GetApplyFriendListResp) ProtoReflect

func (x *GetApplyFriendListResp) ProtoReflect() protoreflect.Message

func (*GetApplyFriendListResp) Reset

func (x *GetApplyFriendListResp) Reset()

func (*GetApplyFriendListResp) String

func (x *GetApplyFriendListResp) String() string

type GetApplyFriendListResp_ApplyFriend

type GetApplyFriendListResp_ApplyFriend struct {
	Id          string                                    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                                  // 申请记录id
	ApplyUserId string                                    `protobuf:"bytes,2,opt,name=applyUserId,proto3" json:"applyUserId,omitempty"`                                                // 申请人
	UserId      string                                    `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`                                                          // 被申请人
	Message     string                                    `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`                                                        // 申请信息
	CreateTime  string                                    `protobuf:"bytes,5,opt,name=createTime,proto3" json:"createTime,omitempty"`                                                  // 申请时间
	Status      GetApplyFriendListResp_ApplyFriend_Status `protobuf:"varint,6,opt,name=status,proto3,enum=relation.GetApplyFriendListResp_ApplyFriend_Status" json:"status,omitempty"` // 申请状态
	// contains filtered or unexported fields
}

func (*GetApplyFriendListResp_ApplyFriend) Descriptor deprecated

func (*GetApplyFriendListResp_ApplyFriend) Descriptor() ([]byte, []int)

Deprecated: Use GetApplyFriendListResp_ApplyFriend.ProtoReflect.Descriptor instead.

func (*GetApplyFriendListResp_ApplyFriend) GetApplyUserId

func (x *GetApplyFriendListResp_ApplyFriend) GetApplyUserId() string

func (*GetApplyFriendListResp_ApplyFriend) GetCreateTime

func (x *GetApplyFriendListResp_ApplyFriend) GetCreateTime() string

func (*GetApplyFriendListResp_ApplyFriend) GetId

func (*GetApplyFriendListResp_ApplyFriend) GetMessage

func (*GetApplyFriendListResp_ApplyFriend) GetStatus

func (*GetApplyFriendListResp_ApplyFriend) GetUserId

func (*GetApplyFriendListResp_ApplyFriend) ProtoMessage

func (*GetApplyFriendListResp_ApplyFriend) ProtoMessage()

func (*GetApplyFriendListResp_ApplyFriend) ProtoReflect

func (*GetApplyFriendListResp_ApplyFriend) Reset

func (*GetApplyFriendListResp_ApplyFriend) String

type GetApplyFriendListResp_ApplyFriend_Status

type GetApplyFriendListResp_ApplyFriend_Status int32
const (
	GetApplyFriendListResp_ApplyFriend_Applying GetApplyFriendListResp_ApplyFriend_Status = 0
	GetApplyFriendListResp_ApplyFriend_AGREE    GetApplyFriendListResp_ApplyFriend_Status = 1
	GetApplyFriendListResp_ApplyFriend_REFUSE   GetApplyFriendListResp_ApplyFriend_Status = 2
)

func (GetApplyFriendListResp_ApplyFriend_Status) Descriptor

func (GetApplyFriendListResp_ApplyFriend_Status) Enum

func (GetApplyFriendListResp_ApplyFriend_Status) EnumDescriptor deprecated

func (GetApplyFriendListResp_ApplyFriend_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetApplyFriendListResp_ApplyFriend_Status.Descriptor instead.

func (GetApplyFriendListResp_ApplyFriend_Status) Number

func (GetApplyFriendListResp_ApplyFriend_Status) String

func (GetApplyFriendListResp_ApplyFriend_Status) Type

type GetBlackListReq

type GetBlackListReq struct {
	SelfId  string   `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id
	PageReq *PageReq `protobuf:"bytes,2,opt,name=pageReq,proto3" json:"pageReq,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlackListReq) Descriptor deprecated

func (*GetBlackListReq) Descriptor() ([]byte, []int)

Deprecated: Use GetBlackListReq.ProtoReflect.Descriptor instead.

func (*GetBlackListReq) GetPageReq

func (x *GetBlackListReq) GetPageReq() *PageReq

func (*GetBlackListReq) GetSelfId

func (x *GetBlackListReq) GetSelfId() string

func (*GetBlackListReq) ProtoMessage

func (*GetBlackListReq) ProtoMessage()

func (*GetBlackListReq) ProtoReflect

func (x *GetBlackListReq) ProtoReflect() protoreflect.Message

func (*GetBlackListReq) Reset

func (x *GetBlackListReq) Reset()

func (*GetBlackListReq) String

func (x *GetBlackListReq) String() string

type GetBlackListResp

type GetBlackListResp struct {
	BaseResp  *RelationBaseResp         `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	PageResp  *PageResp                 `protobuf:"bytes,2,opt,name=pageResp,proto3" json:"pageResp,omitempty"`
	BlackList []*GetBlackListResp_Black `protobuf:"bytes,3,rep,name=blackList,proto3" json:"blackList,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlackListResp) Descriptor deprecated

func (*GetBlackListResp) Descriptor() ([]byte, []int)

Deprecated: Use GetBlackListResp.ProtoReflect.Descriptor instead.

func (*GetBlackListResp) GetBaseResp

func (x *GetBlackListResp) GetBaseResp() *RelationBaseResp

func (*GetBlackListResp) GetBlackList

func (x *GetBlackListResp) GetBlackList() []*GetBlackListResp_Black

func (*GetBlackListResp) GetPageResp

func (x *GetBlackListResp) GetPageResp() *PageResp

func (*GetBlackListResp) ProtoMessage

func (*GetBlackListResp) ProtoMessage()

func (*GetBlackListResp) ProtoReflect

func (x *GetBlackListResp) ProtoReflect() protoreflect.Message

func (*GetBlackListResp) Reset

func (x *GetBlackListResp) Reset()

func (*GetBlackListResp) String

func (x *GetBlackListResp) String() string

type GetBlackListResp_Black

type GetBlackListResp_Black struct {
	UserId     string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`         // 用户id
	SelfId     string `protobuf:"bytes,2,opt,name=selfId,proto3" json:"selfId,omitempty"`         // 自己的id
	CreateTime string `protobuf:"bytes,3,opt,name=createTime,proto3" json:"createTime,omitempty"` // 加黑的时间 排序键
	// contains filtered or unexported fields
}

func (*GetBlackListResp_Black) Descriptor deprecated

func (*GetBlackListResp_Black) Descriptor() ([]byte, []int)

Deprecated: Use GetBlackListResp_Black.ProtoReflect.Descriptor instead.

func (*GetBlackListResp_Black) GetCreateTime

func (x *GetBlackListResp_Black) GetCreateTime() string

func (*GetBlackListResp_Black) GetSelfId

func (x *GetBlackListResp_Black) GetSelfId() string

func (*GetBlackListResp_Black) GetUserId

func (x *GetBlackListResp_Black) GetUserId() string

func (*GetBlackListResp_Black) ProtoMessage

func (*GetBlackListResp_Black) ProtoMessage()

func (*GetBlackListResp_Black) ProtoReflect

func (x *GetBlackListResp_Black) ProtoReflect() protoreflect.Message

func (*GetBlackListResp_Black) Reset

func (x *GetBlackListResp_Black) Reset()

func (*GetBlackListResp_Black) String

func (x *GetBlackListResp_Black) String() string

type GetFriendListReq

type GetFriendListReq struct {
	SelfId string `protobuf:"bytes,1,opt,name=selfId,proto3" json:"selfId,omitempty"` // 用户id
	// contains filtered or unexported fields
}

func (*GetFriendListReq) Descriptor deprecated

func (*GetFriendListReq) Descriptor() ([]byte, []int)

Deprecated: Use GetFriendListReq.ProtoReflect.Descriptor instead.

func (*GetFriendListReq) GetSelfId

func (x *GetFriendListReq) GetSelfId() string

func (*GetFriendListReq) ProtoMessage

func (*GetFriendListReq) ProtoMessage()

func (*GetFriendListReq) ProtoReflect

func (x *GetFriendListReq) ProtoReflect() protoreflect.Message

func (*GetFriendListReq) Reset

func (x *GetFriendListReq) Reset()

func (*GetFriendListReq) String

func (x *GetFriendListReq) String() string

type GetFriendListResp

type GetFriendListResp struct {
	BaseResp   *RelationBaseResp           `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	FriendList []*GetFriendListResp_Friend `protobuf:"bytes,2,rep,name=friendList,proto3" json:"friendList,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFriendListResp) Descriptor deprecated

func (*GetFriendListResp) Descriptor() ([]byte, []int)

Deprecated: Use GetFriendListResp.ProtoReflect.Descriptor instead.

func (*GetFriendListResp) GetBaseResp

func (x *GetFriendListResp) GetBaseResp() *RelationBaseResp

func (*GetFriendListResp) GetFriendList

func (x *GetFriendListResp) GetFriendList() []*GetFriendListResp_Friend

func (*GetFriendListResp) ProtoMessage

func (*GetFriendListResp) ProtoMessage()

func (*GetFriendListResp) ProtoReflect

func (x *GetFriendListResp) ProtoReflect() protoreflect.Message

func (*GetFriendListResp) Reset

func (x *GetFriendListResp) Reset()

func (*GetFriendListResp) String

func (x *GetFriendListResp) String() string

type GetFriendListResp_Friend

type GetFriendListResp_Friend struct {
	UserId     string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`         // 用户id
	SelfId     string `protobuf:"bytes,2,opt,name=selfId,proto3" json:"selfId,omitempty"`         // 自己的id
	Remark     string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`         // 备注
	CreateTime string `protobuf:"bytes,4,opt,name=createTime,proto3" json:"createTime,omitempty"` // 加好友的时间
	// contains filtered or unexported fields
}

func (*GetFriendListResp_Friend) Descriptor deprecated

func (*GetFriendListResp_Friend) Descriptor() ([]byte, []int)

Deprecated: Use GetFriendListResp_Friend.ProtoReflect.Descriptor instead.

func (*GetFriendListResp_Friend) GetCreateTime

func (x *GetFriendListResp_Friend) GetCreateTime() string

func (*GetFriendListResp_Friend) GetRemark

func (x *GetFriendListResp_Friend) GetRemark() string

func (*GetFriendListResp_Friend) GetSelfId

func (x *GetFriendListResp_Friend) GetSelfId() string

func (*GetFriendListResp_Friend) GetUserId

func (x *GetFriendListResp_Friend) GetUserId() string

func (*GetFriendListResp_Friend) ProtoMessage

func (*GetFriendListResp_Friend) ProtoMessage()

func (*GetFriendListResp_Friend) ProtoReflect

func (x *GetFriendListResp_Friend) ProtoReflect() protoreflect.Message

func (*GetFriendListResp_Friend) Reset

func (x *GetFriendListResp_Friend) Reset()

func (*GetFriendListResp_Friend) String

func (x *GetFriendListResp_Friend) String() string

type GetGroupMemberIDListFromCacheReq

type GetGroupMemberIDListFromCacheReq struct {
	GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupMemberIDListFromCacheReq) Descriptor deprecated

func (*GetGroupMemberIDListFromCacheReq) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupMemberIDListFromCacheReq.ProtoReflect.Descriptor instead.

func (*GetGroupMemberIDListFromCacheReq) GetGroupID

func (x *GetGroupMemberIDListFromCacheReq) GetGroupID() string

func (*GetGroupMemberIDListFromCacheReq) ProtoMessage

func (*GetGroupMemberIDListFromCacheReq) ProtoMessage()

func (*GetGroupMemberIDListFromCacheReq) ProtoReflect

func (*GetGroupMemberIDListFromCacheReq) Reset

func (*GetGroupMemberIDListFromCacheReq) String

type GetGroupMemberIDListFromCacheResp

type GetGroupMemberIDListFromCacheResp struct {
	CommonResp   *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
	MemberIDList []string    `protobuf:"bytes,2,rep,name=memberIDList,proto3" json:"memberIDList,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupMemberIDListFromCacheResp) Descriptor deprecated

func (*GetGroupMemberIDListFromCacheResp) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupMemberIDListFromCacheResp.ProtoReflect.Descriptor instead.

func (*GetGroupMemberIDListFromCacheResp) GetCommonResp

func (x *GetGroupMemberIDListFromCacheResp) GetCommonResp() *CommonResp

func (*GetGroupMemberIDListFromCacheResp) GetMemberIDList

func (x *GetGroupMemberIDListFromCacheResp) GetMemberIDList() []string

func (*GetGroupMemberIDListFromCacheResp) ProtoMessage

func (*GetGroupMemberIDListFromCacheResp) ProtoMessage()

func (*GetGroupMemberIDListFromCacheResp) ProtoReflect

func (*GetGroupMemberIDListFromCacheResp) Reset

func (*GetGroupMemberIDListFromCacheResp) String

type GetSingleConversationRecvMsgOptsReq

type GetSingleConversationRecvMsgOptsReq struct {
	UserID         string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSingleConversationRecvMsgOptsReq) Descriptor deprecated

func (*GetSingleConversationRecvMsgOptsReq) Descriptor() ([]byte, []int)

Deprecated: Use GetSingleConversationRecvMsgOptsReq.ProtoReflect.Descriptor instead.

func (*GetSingleConversationRecvMsgOptsReq) GetConversationID

func (x *GetSingleConversationRecvMsgOptsReq) GetConversationID() string

func (*GetSingleConversationRecvMsgOptsReq) GetUserID

func (*GetSingleConversationRecvMsgOptsReq) ProtoMessage

func (*GetSingleConversationRecvMsgOptsReq) ProtoMessage()

func (*GetSingleConversationRecvMsgOptsReq) ProtoReflect

func (*GetSingleConversationRecvMsgOptsReq) Reset

func (*GetSingleConversationRecvMsgOptsReq) String

type GetSingleConversationRecvMsgOptsResp

type GetSingleConversationRecvMsgOptsResp struct {
	CommonResp *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
	Opts       RecvMsgOpt  `protobuf:"varint,2,opt,name=opts,proto3,enum=imuser.RecvMsgOpt" json:"opts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSingleConversationRecvMsgOptsResp) Descriptor deprecated

func (*GetSingleConversationRecvMsgOptsResp) Descriptor() ([]byte, []int)

Deprecated: Use GetSingleConversationRecvMsgOptsResp.ProtoReflect.Descriptor instead.

func (*GetSingleConversationRecvMsgOptsResp) GetCommonResp

func (*GetSingleConversationRecvMsgOptsResp) GetOpts

func (*GetSingleConversationRecvMsgOptsResp) ProtoMessage

func (*GetSingleConversationRecvMsgOptsResp) ProtoMessage()

func (*GetSingleConversationRecvMsgOptsResp) ProtoReflect

func (*GetSingleConversationRecvMsgOptsResp) Reset

func (*GetSingleConversationRecvMsgOptsResp) String

type GetUserByIdReq

type GetUserByIdReq struct {
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByIdReq) Descriptor deprecated

func (*GetUserByIdReq) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByIdReq.ProtoReflect.Descriptor instead.

func (*GetUserByIdReq) GetUserId

func (x *GetUserByIdReq) GetUserId() string

func (*GetUserByIdReq) ProtoMessage

func (*GetUserByIdReq) ProtoMessage()

func (*GetUserByIdReq) ProtoReflect

func (x *GetUserByIdReq) ProtoReflect() protoreflect.Message

func (*GetUserByIdReq) Reset

func (x *GetUserByIdReq) Reset()

func (*GetUserByIdReq) String

func (x *GetUserByIdReq) String() string

type GetUserByIdsReq

type GetUserByIdsReq struct {
	UserIds []string `protobuf:"bytes,1,rep,name=userIds,proto3" json:"userIds,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByIdsReq) Descriptor deprecated

func (*GetUserByIdsReq) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByIdsReq.ProtoReflect.Descriptor instead.

func (*GetUserByIdsReq) GetUserIds

func (x *GetUserByIdsReq) GetUserIds() []string

func (*GetUserByIdsReq) ProtoMessage

func (*GetUserByIdsReq) ProtoMessage()

func (*GetUserByIdsReq) ProtoReflect

func (x *GetUserByIdsReq) ProtoReflect() protoreflect.Message

func (*GetUserByIdsReq) Reset

func (x *GetUserByIdsReq) Reset()

func (*GetUserByIdsReq) String

func (x *GetUserByIdsReq) String() string

type GetUserByUsernameReq

type GetUserByUsernameReq struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByUsernameReq) Descriptor deprecated

func (*GetUserByUsernameReq) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByUsernameReq.ProtoReflect.Descriptor instead.

func (*GetUserByUsernameReq) GetUsername

func (x *GetUserByUsernameReq) GetUsername() string

func (*GetUserByUsernameReq) ProtoMessage

func (*GetUserByUsernameReq) ProtoMessage()

func (*GetUserByUsernameReq) ProtoReflect

func (x *GetUserByUsernameReq) ProtoReflect() protoreflect.Message

func (*GetUserByUsernameReq) Reset

func (x *GetUserByUsernameReq) Reset()

func (*GetUserByUsernameReq) String

func (x *GetUserByUsernameReq) String() string

type GetUserListFromSuperGroupWithOptReq

type GetUserListFromSuperGroupWithOptReq struct {
	SuperGroupID string       `protobuf:"bytes,1,opt,name=superGroupID,proto3" json:"superGroupID,omitempty"`
	Opts         []RecvMsgOpt `protobuf:"varint,2,rep,packed,name=opts,proto3,enum=imuser.RecvMsgOpt" json:"opts,omitempty"`
	UserIDList   []string     `protobuf:"bytes,3,rep,name=userIDList,proto3" json:"userIDList,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserListFromSuperGroupWithOptReq) Descriptor deprecated

func (*GetUserListFromSuperGroupWithOptReq) Descriptor() ([]byte, []int)

Deprecated: Use GetUserListFromSuperGroupWithOptReq.ProtoReflect.Descriptor instead.

func (*GetUserListFromSuperGroupWithOptReq) GetOpts

func (*GetUserListFromSuperGroupWithOptReq) GetSuperGroupID

func (x *GetUserListFromSuperGroupWithOptReq) GetSuperGroupID() string

func (*GetUserListFromSuperGroupWithOptReq) GetUserIDList

func (x *GetUserListFromSuperGroupWithOptReq) GetUserIDList() []string

func (*GetUserListFromSuperGroupWithOptReq) ProtoMessage

func (*GetUserListFromSuperGroupWithOptReq) ProtoMessage()

func (*GetUserListFromSuperGroupWithOptReq) ProtoReflect

func (*GetUserListFromSuperGroupWithOptReq) Reset

func (*GetUserListFromSuperGroupWithOptReq) String

type GetUserListFromSuperGroupWithOptResp

type GetUserListFromSuperGroupWithOptResp struct {
	CommonResp    *CommonResp  `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
	UserIDOptList []*UserIDOpt `protobuf:"bytes,2,rep,name=UserIDOptList,proto3" json:"UserIDOptList,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserListFromSuperGroupWithOptResp) Descriptor deprecated

func (*GetUserListFromSuperGroupWithOptResp) Descriptor() ([]byte, []int)

Deprecated: Use GetUserListFromSuperGroupWithOptResp.ProtoReflect.Descriptor instead.

func (*GetUserListFromSuperGroupWithOptResp) GetCommonResp

func (*GetUserListFromSuperGroupWithOptResp) GetUserIDOptList

func (x *GetUserListFromSuperGroupWithOptResp) GetUserIDOptList() []*UserIDOpt

func (*GetUserListFromSuperGroupWithOptResp) ProtoMessage

func (*GetUserListFromSuperGroupWithOptResp) ProtoMessage()

func (*GetUserListFromSuperGroupWithOptResp) ProtoReflect

func (*GetUserListFromSuperGroupWithOptResp) Reset

func (*GetUserListFromSuperGroupWithOptResp) String

type GetUserListResp

type GetUserListResp struct {
	Users    []*User   `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	BaseResp *BaseResp `protobuf:"bytes,2,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserListResp) Descriptor deprecated

func (*GetUserListResp) Descriptor() ([]byte, []int)

Deprecated: Use GetUserListResp.ProtoReflect.Descriptor instead.

func (*GetUserListResp) GetBaseResp

func (x *GetUserListResp) GetBaseResp() *BaseResp

func (*GetUserListResp) GetUsers

func (x *GetUserListResp) GetUsers() []*User

func (*GetUserListResp) ProtoMessage

func (*GetUserListResp) ProtoMessage()

func (*GetUserListResp) ProtoReflect

func (x *GetUserListResp) ProtoReflect() protoreflect.Message

func (*GetUserListResp) Reset

func (x *GetUserListResp) Reset()

func (*GetUserListResp) String

func (x *GetUserListResp) String() string

type GetUserResp

type GetUserResp struct {
	User     *User     `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	BaseResp *BaseResp `protobuf:"bytes,2,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResp) Descriptor deprecated

func (*GetUserResp) Descriptor() ([]byte, []int)

Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.

func (*GetUserResp) GetBaseResp

func (x *GetUserResp) GetBaseResp() *BaseResp

func (*GetUserResp) GetUser

func (x *GetUserResp) GetUser() *User

func (*GetUserResp) ProtoMessage

func (*GetUserResp) ProtoMessage()

func (*GetUserResp) ProtoReflect

func (x *GetUserResp) ProtoReflect() protoreflect.Message

func (*GetUserResp) Reset

func (x *GetUserResp) Reset()

func (*GetUserResp) String

func (x *GetUserResp) String() string

type IfAInBBlacklistReq

type IfAInBBlacklistReq struct {
	AUserID string `protobuf:"bytes,1,opt,name=aUserID,proto3" json:"aUserID,omitempty"`
	BUserID string `protobuf:"bytes,2,opt,name=bUserID,proto3" json:"bUserID,omitempty"`
	// contains filtered or unexported fields
}

func (*IfAInBBlacklistReq) Descriptor deprecated

func (*IfAInBBlacklistReq) Descriptor() ([]byte, []int)

Deprecated: Use IfAInBBlacklistReq.ProtoReflect.Descriptor instead.

func (*IfAInBBlacklistReq) GetAUserID

func (x *IfAInBBlacklistReq) GetAUserID() string

func (*IfAInBBlacklistReq) GetBUserID

func (x *IfAInBBlacklistReq) GetBUserID() string

func (*IfAInBBlacklistReq) ProtoMessage

func (*IfAInBBlacklistReq) ProtoMessage()

func (*IfAInBBlacklistReq) ProtoReflect

func (x *IfAInBBlacklistReq) ProtoReflect() protoreflect.Message

func (*IfAInBBlacklistReq) Reset

func (x *IfAInBBlacklistReq) Reset()

func (*IfAInBBlacklistReq) String

func (x *IfAInBBlacklistReq) String() string

type IfAInBBlacklistResp

type IfAInBBlacklistResp struct {
	CommonResp    *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
	IsInBlacklist bool        `protobuf:"varint,2,opt,name=isInBlacklist,proto3" json:"isInBlacklist,omitempty"`
	// contains filtered or unexported fields
}

func (*IfAInBBlacklistResp) Descriptor deprecated

func (*IfAInBBlacklistResp) Descriptor() ([]byte, []int)

Deprecated: Use IfAInBBlacklistResp.ProtoReflect.Descriptor instead.

func (*IfAInBBlacklistResp) GetCommonResp

func (x *IfAInBBlacklistResp) GetCommonResp() *CommonResp

func (*IfAInBBlacklistResp) GetIsInBlacklist

func (x *IfAInBBlacklistResp) GetIsInBlacklist() bool

func (*IfAInBBlacklistResp) ProtoMessage

func (*IfAInBBlacklistResp) ProtoMessage()

func (*IfAInBBlacklistResp) ProtoReflect

func (x *IfAInBBlacklistResp) ProtoReflect() protoreflect.Message

func (*IfAInBBlacklistResp) Reset

func (x *IfAInBBlacklistResp) Reset()

func (*IfAInBBlacklistResp) String

func (x *IfAInBBlacklistResp) String() string

type IfAInBFriendListReq

type IfAInBFriendListReq struct {
	AUserID string `protobuf:"bytes,1,opt,name=aUserID,proto3" json:"aUserID,omitempty"`
	BUserID string `protobuf:"bytes,2,opt,name=bUserID,proto3" json:"bUserID,omitempty"`
	// contains filtered or unexported fields
}

func (*IfAInBFriendListReq) Descriptor deprecated

func (*IfAInBFriendListReq) Descriptor() ([]byte, []int)

Deprecated: Use IfAInBFriendListReq.ProtoReflect.Descriptor instead.

func (*IfAInBFriendListReq) GetAUserID

func (x *IfAInBFriendListReq) GetAUserID() string

func (*IfAInBFriendListReq) GetBUserID

func (x *IfAInBFriendListReq) GetBUserID() string

func (*IfAInBFriendListReq) ProtoMessage

func (*IfAInBFriendListReq) ProtoMessage()

func (*IfAInBFriendListReq) ProtoReflect

func (x *IfAInBFriendListReq) ProtoReflect() protoreflect.Message

func (*IfAInBFriendListReq) Reset

func (x *IfAInBFriendListReq) Reset()

func (*IfAInBFriendListReq) String

func (x *IfAInBFriendListReq) String() string

type IfAInBFriendListResp

type IfAInBFriendListResp struct {
	CommonResp     *CommonResp `protobuf:"bytes,1,opt,name=commonResp,proto3" json:"commonResp,omitempty"`
	IsInFriendList bool        `protobuf:"varint,2,opt,name=isInFriendList,proto3" json:"isInFriendList,omitempty"`
	// contains filtered or unexported fields
}

func (*IfAInBFriendListResp) Descriptor deprecated

func (*IfAInBFriendListResp) Descriptor() ([]byte, []int)

Deprecated: Use IfAInBFriendListResp.ProtoReflect.Descriptor instead.

func (*IfAInBFriendListResp) GetCommonResp

func (x *IfAInBFriendListResp) GetCommonResp() *CommonResp

func (*IfAInBFriendListResp) GetIsInFriendList

func (x *IfAInBFriendListResp) GetIsInFriendList() bool

func (*IfAInBFriendListResp) ProtoMessage

func (*IfAInBFriendListResp) ProtoMessage()

func (*IfAInBFriendListResp) ProtoReflect

func (x *IfAInBFriendListResp) ProtoReflect() protoreflect.Message

func (*IfAInBFriendListResp) Reset

func (x *IfAInBFriendListResp) Reset()

func (*IfAInBFriendListResp) String

func (x *IfAInBFriendListResp) String() string

type ImUserServiceClient

type ImUserServiceClient interface {
	// 获取群组成员列表
	GetGroupMemberIDListFromCache(ctx context.Context, in *GetGroupMemberIDListFromCacheReq, opts ...grpc.CallOption) (*GetGroupMemberIDListFromCacheResp, error)
	// 判断用户A是否在B黑名单中
	IfAInBBlacklist(ctx context.Context, in *IfAInBBlacklistReq, opts ...grpc.CallOption) (*IfAInBBlacklistResp, error)
	// 判断用户A是否在B好友列表中
	IfAInBFriendList(ctx context.Context, in *IfAInBFriendListReq, opts ...grpc.CallOption) (*IfAInBFriendListResp, error)
	// 获取单聊会话的消息接收选项
	GetSingleConversationRecvMsgOpts(ctx context.Context, in *GetSingleConversationRecvMsgOptsReq, opts ...grpc.CallOption) (*GetSingleConversationRecvMsgOptsResp, error)
	// 获取超级群成员列表 通过消息接收选项
	GetUserListFromSuperGroupWithOpt(ctx context.Context, in *GetUserListFromSuperGroupWithOptReq, opts ...grpc.CallOption) (*GetUserListFromSuperGroupWithOptResp, error)
	// 检查token
	VerifyToken(ctx context.Context, in *VerifyTokenReq, opts ...grpc.CallOption) (*VerifyTokenResp, error)
}

ImUserServiceClient is the client API for ImUserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ImUserServiceServer

type ImUserServiceServer interface {
	// 获取群组成员列表
	GetGroupMemberIDListFromCache(context.Context, *GetGroupMemberIDListFromCacheReq) (*GetGroupMemberIDListFromCacheResp, error)
	// 判断用户A是否在B黑名单中
	IfAInBBlacklist(context.Context, *IfAInBBlacklistReq) (*IfAInBBlacklistResp, error)
	// 判断用户A是否在B好友列表中
	IfAInBFriendList(context.Context, *IfAInBFriendListReq) (*IfAInBFriendListResp, error)
	// 获取单聊会话的消息接收选项
	GetSingleConversationRecvMsgOpts(context.Context, *GetSingleConversationRecvMsgOptsReq) (*GetSingleConversationRecvMsgOptsResp, error)
	// 获取超级群成员列表 通过消息接收选项
	GetUserListFromSuperGroupWithOpt(context.Context, *GetUserListFromSuperGroupWithOptReq) (*GetUserListFromSuperGroupWithOptResp, error)
	// 检查token
	VerifyToken(context.Context, *VerifyTokenReq) (*VerifyTokenResp, error)
	// contains filtered or unexported methods
}

ImUserServiceServer is the server API for ImUserService service. All implementations must embed UnimplementedImUserServiceServer for forward compatibility

type InsertUserReq

type InsertUserReq struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertUserReq) Descriptor deprecated

func (*InsertUserReq) Descriptor() ([]byte, []int)

Deprecated: Use InsertUserReq.ProtoReflect.Descriptor instead.

func (*InsertUserReq) GetUser

func (x *InsertUserReq) GetUser() *User

func (*InsertUserReq) ProtoMessage

func (*InsertUserReq) ProtoMessage()

func (*InsertUserReq) ProtoReflect

func (x *InsertUserReq) ProtoReflect() protoreflect.Message

func (*InsertUserReq) Reset

func (x *InsertUserReq) Reset()

func (*InsertUserReq) String

func (x *InsertUserReq) String() string

type InsertUserResp

type InsertUserResp struct {
	BaseResp *BaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertUserResp) Descriptor deprecated

func (*InsertUserResp) Descriptor() ([]byte, []int)

Deprecated: Use InsertUserResp.ProtoReflect.Descriptor instead.

func (*InsertUserResp) GetBaseResp

func (x *InsertUserResp) GetBaseResp() *BaseResp

func (*InsertUserResp) ProtoMessage

func (*InsertUserResp) ProtoMessage()

func (*InsertUserResp) ProtoReflect

func (x *InsertUserResp) ProtoReflect() protoreflect.Message

func (*InsertUserResp) Reset

func (x *InsertUserResp) Reset()

func (*InsertUserResp) String

func (x *InsertUserResp) String() string

type LoginByIdReq

type LoginByIdReq struct {
	UserId   string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginByIdReq) Descriptor deprecated

func (*LoginByIdReq) Descriptor() ([]byte, []int)

Deprecated: Use LoginByIdReq.ProtoReflect.Descriptor instead.

func (*LoginByIdReq) GetPlatform

func (x *LoginByIdReq) GetPlatform() string

func (*LoginByIdReq) GetUserId

func (x *LoginByIdReq) GetUserId() string

func (*LoginByIdReq) ProtoMessage

func (*LoginByIdReq) ProtoMessage()

func (*LoginByIdReq) ProtoReflect

func (x *LoginByIdReq) ProtoReflect() protoreflect.Message

func (*LoginByIdReq) Reset

func (x *LoginByIdReq) Reset()

func (*LoginByIdReq) String

func (x *LoginByIdReq) String() string

type LoginByPasswordReq

type LoginByPasswordReq struct {
	Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginByPasswordReq) Descriptor deprecated

func (*LoginByPasswordReq) Descriptor() ([]byte, []int)

Deprecated: Use LoginByPasswordReq.ProtoReflect.Descriptor instead.

func (*LoginByPasswordReq) GetPassword

func (x *LoginByPasswordReq) GetPassword() string

func (*LoginByPasswordReq) GetPlatform

func (x *LoginByPasswordReq) GetPlatform() string

func (*LoginByPasswordReq) GetUsername

func (x *LoginByPasswordReq) GetUsername() string

func (*LoginByPasswordReq) ProtoMessage

func (*LoginByPasswordReq) ProtoMessage()

func (*LoginByPasswordReq) ProtoReflect

func (x *LoginByPasswordReq) ProtoReflect() protoreflect.Message

func (*LoginByPasswordReq) Reset

func (x *LoginByPasswordReq) Reset()

func (*LoginByPasswordReq) String

func (x *LoginByPasswordReq) String() string

type LoginResp

type LoginResp struct {
	User     *User     `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Token    string    `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	BaseResp *BaseResp `protobuf:"bytes,3,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResp) Descriptor deprecated

func (*LoginResp) Descriptor() ([]byte, []int)

Deprecated: Use LoginResp.ProtoReflect.Descriptor instead.

func (*LoginResp) GetBaseResp

func (x *LoginResp) GetBaseResp() *BaseResp

func (*LoginResp) GetToken

func (x *LoginResp) GetToken() string

func (*LoginResp) GetUser

func (x *LoginResp) GetUser() *User

func (*LoginResp) ProtoMessage

func (*LoginResp) ProtoMessage()

func (*LoginResp) ProtoReflect

func (x *LoginResp) ProtoReflect() protoreflect.Message

func (*LoginResp) Reset

func (x *LoginResp) Reset()

func (*LoginResp) String

func (x *LoginResp) String() string

type PageReq

type PageReq struct {
	Page     int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*PageReq) Descriptor deprecated

func (*PageReq) Descriptor() ([]byte, []int)

Deprecated: Use PageReq.ProtoReflect.Descriptor instead.

func (*PageReq) GetPage

func (x *PageReq) GetPage() int32

func (*PageReq) GetPageSize

func (x *PageReq) GetPageSize() int32

func (*PageReq) ProtoMessage

func (*PageReq) ProtoMessage()

func (*PageReq) ProtoReflect

func (x *PageReq) ProtoReflect() protoreflect.Message

func (*PageReq) Reset

func (x *PageReq) Reset()

func (*PageReq) String

func (x *PageReq) String() string

type PageResp

type PageResp struct {
	Page     int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Total    int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*PageResp) Descriptor deprecated

func (*PageResp) Descriptor() ([]byte, []int)

Deprecated: Use PageResp.ProtoReflect.Descriptor instead.

func (*PageResp) GetPage

func (x *PageResp) GetPage() int32

func (*PageResp) GetPageSize

func (x *PageResp) GetPageSize() int32

func (*PageResp) GetTotal

func (x *PageResp) GetTotal() int64

func (*PageResp) ProtoMessage

func (*PageResp) ProtoMessage()

func (*PageResp) ProtoReflect

func (x *PageResp) ProtoReflect() protoreflect.Message

func (*PageResp) Reset

func (x *PageResp) Reset()

func (*PageResp) String

func (x *PageResp) String() string

type RecvMsgOpt

type RecvMsgOpt int32
const (
	RecvMsgOpt_ReceiveMessage          RecvMsgOpt = 0
	RecvMsgOpt_NotReceiveMessage       RecvMsgOpt = 1
	RecvMsgOpt_ReceiveNotNotifyMessage RecvMsgOpt = 2
)

func (RecvMsgOpt) Descriptor

func (RecvMsgOpt) Descriptor() protoreflect.EnumDescriptor

func (RecvMsgOpt) Enum

func (x RecvMsgOpt) Enum() *RecvMsgOpt

func (RecvMsgOpt) EnumDescriptor deprecated

func (RecvMsgOpt) EnumDescriptor() ([]byte, []int)

Deprecated: Use RecvMsgOpt.Descriptor instead.

func (RecvMsgOpt) Number

func (x RecvMsgOpt) Number() protoreflect.EnumNumber

func (RecvMsgOpt) String

func (x RecvMsgOpt) String() string

func (RecvMsgOpt) Type

type RelationBaseResp

type RelationBaseResp struct {
	ErrCode RelationBaseResp_Errno `protobuf:"varint,1,opt,name=errCode,proto3,enum=relation.RelationBaseResp_Errno" json:"errCode,omitempty"`
	ErrMsg  string                 `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationBaseResp) Descriptor deprecated

func (*RelationBaseResp) Descriptor() ([]byte, []int)

Deprecated: Use RelationBaseResp.ProtoReflect.Descriptor instead.

func (*RelationBaseResp) GetErrCode

func (x *RelationBaseResp) GetErrCode() RelationBaseResp_Errno

func (*RelationBaseResp) GetErrMsg

func (x *RelationBaseResp) GetErrMsg() string

func (*RelationBaseResp) ProtoMessage

func (*RelationBaseResp) ProtoMessage()

func (*RelationBaseResp) ProtoReflect

func (x *RelationBaseResp) ProtoReflect() protoreflect.Message

func (*RelationBaseResp) Reset

func (x *RelationBaseResp) Reset()

func (*RelationBaseResp) String

func (x *RelationBaseResp) String() string

type RelationBaseResp_Errno

type RelationBaseResp_Errno int32
const (
	RelationBaseResp_OK    RelationBaseResp_Errno = 0
	RelationBaseResp_ERROR RelationBaseResp_Errno = 1
)

func (RelationBaseResp_Errno) Descriptor

func (RelationBaseResp_Errno) Enum

func (RelationBaseResp_Errno) EnumDescriptor deprecated

func (RelationBaseResp_Errno) EnumDescriptor() ([]byte, []int)

Deprecated: Use RelationBaseResp_Errno.Descriptor instead.

func (RelationBaseResp_Errno) Number

func (RelationBaseResp_Errno) String

func (x RelationBaseResp_Errno) String() string

func (RelationBaseResp_Errno) Type

type RelationServiceClient

type RelationServiceClient interface {
	ApplyFriend(ctx context.Context, in *ApplyFriendReq, opts ...grpc.CallOption) (*ApplyFriendResp, error)
	UpdateApplyFriendStatus(ctx context.Context, in *UpdateApplyFriendStatusReq, opts ...grpc.CallOption) (*UpdateApplyFriendStatusResp, error)
	GetApplyFriendList(ctx context.Context, in *GetApplyFriendListReq, opts ...grpc.CallOption) (*GetApplyFriendListResp, error)
	GetFriendList(ctx context.Context, in *GetFriendListReq, opts ...grpc.CallOption) (*GetFriendListResp, error)
	DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error)
	GetBlackList(ctx context.Context, in *GetBlackListReq, opts ...grpc.CallOption) (*GetBlackListResp, error)
	DeleteBlack(ctx context.Context, in *DeleteBlackReq, opts ...grpc.CallOption) (*DeleteBlackResp, error)
	BlackUser(ctx context.Context, in *BlackUserReq, opts ...grpc.CallOption) (*BlackUserResp, error)
}

RelationServiceClient is the client API for RelationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RelationServiceServer

type RelationServiceServer interface {
	ApplyFriend(context.Context, *ApplyFriendReq) (*ApplyFriendResp, error)
	UpdateApplyFriendStatus(context.Context, *UpdateApplyFriendStatusReq) (*UpdateApplyFriendStatusResp, error)
	GetApplyFriendList(context.Context, *GetApplyFriendListReq) (*GetApplyFriendListResp, error)
	GetFriendList(context.Context, *GetFriendListReq) (*GetFriendListResp, error)
	DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
	GetBlackList(context.Context, *GetBlackListReq) (*GetBlackListResp, error)
	DeleteBlack(context.Context, *DeleteBlackReq) (*DeleteBlackResp, error)
	BlackUser(context.Context, *BlackUserReq) (*BlackUserResp, error)
	// contains filtered or unexported methods
}

RelationServiceServer is the server API for RelationService service. All implementations must embed UnimplementedRelationServiceServer for forward compatibility

type UnimplementedImUserServiceServer

type UnimplementedImUserServiceServer struct {
}

UnimplementedImUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedImUserServiceServer) IfAInBBlacklist

func (UnimplementedImUserServiceServer) IfAInBFriendList

func (UnimplementedImUserServiceServer) VerifyToken

type UnimplementedRelationServiceServer

type UnimplementedRelationServiceServer struct {
}

UnimplementedRelationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRelationServiceServer) ApplyFriend

func (UnimplementedRelationServiceServer) BlackUser

func (UnimplementedRelationServiceServer) DeleteBlack

func (UnimplementedRelationServiceServer) DeleteFriend

func (UnimplementedRelationServiceServer) GetApplyFriendList

func (UnimplementedRelationServiceServer) GetBlackList

func (UnimplementedRelationServiceServer) GetFriendList

func (UnimplementedRelationServiceServer) UpdateApplyFriendStatus

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) GetUserById

func (UnimplementedUserServiceServer) GetUserByIds

func (UnimplementedUserServiceServer) GetUserByUsername

func (UnimplementedUserServiceServer) InsertUser

func (UnimplementedUserServiceServer) LoginById

func (UnimplementedUserServiceServer) LoginByPassword

func (UnimplementedUserServiceServer) UpdateUser

type UnsafeImUserServiceServer

type UnsafeImUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeImUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImUserServiceServer will result in compilation errors.

type UnsafeRelationServiceServer

type UnsafeRelationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRelationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RelationServiceServer will result in compilation errors.

type UnsafeUserServiceServer

type UnsafeUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.

type UpdateApplyFriendStatusReq

type UpdateApplyFriendStatusReq struct {
	Status UpdateApplyFriendStatusReq_Status `protobuf:"varint,1,opt,name=status,proto3,enum=relation.UpdateApplyFriendStatusReq_Status" json:"status,omitempty"`
	Id     string                            `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`         // 申请记录id
	SelfId string                            `protobuf:"bytes,3,opt,name=selfId,proto3" json:"selfId,omitempty"` // 自己的id
	// contains filtered or unexported fields
}

func (*UpdateApplyFriendStatusReq) Descriptor deprecated

func (*UpdateApplyFriendStatusReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateApplyFriendStatusReq.ProtoReflect.Descriptor instead.

func (*UpdateApplyFriendStatusReq) GetId

func (*UpdateApplyFriendStatusReq) GetSelfId

func (x *UpdateApplyFriendStatusReq) GetSelfId() string

func (*UpdateApplyFriendStatusReq) GetStatus

func (*UpdateApplyFriendStatusReq) ProtoMessage

func (*UpdateApplyFriendStatusReq) ProtoMessage()

func (*UpdateApplyFriendStatusReq) ProtoReflect

func (*UpdateApplyFriendStatusReq) Reset

func (x *UpdateApplyFriendStatusReq) Reset()

func (*UpdateApplyFriendStatusReq) String

func (x *UpdateApplyFriendStatusReq) String() string

type UpdateApplyFriendStatusReq_Status

type UpdateApplyFriendStatusReq_Status int32
const (
	UpdateApplyFriendStatusReq_AGREE  UpdateApplyFriendStatusReq_Status = 0
	UpdateApplyFriendStatusReq_REFUSE UpdateApplyFriendStatusReq_Status = 1
)

func (UpdateApplyFriendStatusReq_Status) Descriptor

func (UpdateApplyFriendStatusReq_Status) Enum

func (UpdateApplyFriendStatusReq_Status) EnumDescriptor deprecated

func (UpdateApplyFriendStatusReq_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpdateApplyFriendStatusReq_Status.Descriptor instead.

func (UpdateApplyFriendStatusReq_Status) Number

func (UpdateApplyFriendStatusReq_Status) String

func (UpdateApplyFriendStatusReq_Status) Type

type UpdateApplyFriendStatusResp

type UpdateApplyFriendStatusResp struct {
	BaseResp *RelationBaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateApplyFriendStatusResp) Descriptor deprecated

func (*UpdateApplyFriendStatusResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateApplyFriendStatusResp.ProtoReflect.Descriptor instead.

func (*UpdateApplyFriendStatusResp) GetBaseResp

func (*UpdateApplyFriendStatusResp) ProtoMessage

func (*UpdateApplyFriendStatusResp) ProtoMessage()

func (*UpdateApplyFriendStatusResp) ProtoReflect

func (*UpdateApplyFriendStatusResp) Reset

func (x *UpdateApplyFriendStatusResp) Reset()

func (*UpdateApplyFriendStatusResp) String

func (x *UpdateApplyFriendStatusResp) String() string

type UpdateUserReq

type UpdateUserReq struct {
	User   *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserReq) Descriptor deprecated

func (*UpdateUserReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.

func (*UpdateUserReq) GetFields

func (x *UpdateUserReq) GetFields() []string

func (*UpdateUserReq) GetUser

func (x *UpdateUserReq) GetUser() *User

func (*UpdateUserReq) ProtoMessage

func (*UpdateUserReq) ProtoMessage()

func (*UpdateUserReq) ProtoReflect

func (x *UpdateUserReq) ProtoReflect() protoreflect.Message

func (*UpdateUserReq) Reset

func (x *UpdateUserReq) Reset()

func (*UpdateUserReq) String

func (x *UpdateUserReq) String() string

type UpdateUserResp

type UpdateUserResp struct {
	BaseResp *BaseResp `protobuf:"bytes,1,opt,name=baseResp,proto3" json:"baseResp,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserResp) Descriptor deprecated

func (*UpdateUserResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserResp.ProtoReflect.Descriptor instead.

func (*UpdateUserResp) GetBaseResp

func (x *UpdateUserResp) GetBaseResp() *BaseResp

func (*UpdateUserResp) ProtoMessage

func (*UpdateUserResp) ProtoMessage()

func (*UpdateUserResp) ProtoReflect

func (x *UpdateUserResp) ProtoReflect() protoreflect.Message

func (*UpdateUserResp) Reset

func (x *UpdateUserResp) Reset()

func (*UpdateUserResp) String

func (x *UpdateUserResp) String() string

type User

type User struct {
	Id           string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Username     string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"`
	Password     string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"`
	Nickname     string `protobuf:"bytes,4,opt,name=Nickname,proto3" json:"Nickname,omitempty"`
	Sign         string `protobuf:"bytes,5,opt,name=Sign,proto3" json:"Sign,omitempty"`
	Avatar       string `protobuf:"bytes,6,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
	Province     string `protobuf:"bytes,7,opt,name=Province,proto3" json:"Province,omitempty"`
	City         string `protobuf:"bytes,8,opt,name=City,proto3" json:"City,omitempty"`
	District     string `protobuf:"bytes,9,opt,name=District,proto3" json:"District,omitempty"`
	Birthday     string `protobuf:"bytes,10,opt,name=Birthday,proto3" json:"Birthday,omitempty"`
	RegisterTime string `protobuf:"bytes,11,opt,name=RegisterTime,proto3" json:"RegisterTime,omitempty"`
	IsMale       bool   `protobuf:"varint,12,opt,name=IsMale,proto3" json:"IsMale,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetBirthday

func (x *User) GetBirthday() string

func (*User) GetCity

func (x *User) GetCity() string

func (*User) GetDistrict

func (x *User) GetDistrict() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetIsMale

func (x *User) GetIsMale() bool

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetProvince

func (x *User) GetProvince() string

func (*User) GetRegisterTime

func (x *User) GetRegisterTime() string

func (*User) GetSign

func (x *User) GetSign() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserIDOpt

type UserIDOpt struct {
	UserID string     `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Opts   RecvMsgOpt `protobuf:"varint,2,opt,name=opts,proto3,enum=imuser.RecvMsgOpt" json:"opts,omitempty"`
	// contains filtered or unexported fields
}

func (*UserIDOpt) Descriptor deprecated

func (*UserIDOpt) Descriptor() ([]byte, []int)

Deprecated: Use UserIDOpt.ProtoReflect.Descriptor instead.

func (*UserIDOpt) GetOpts

func (x *UserIDOpt) GetOpts() RecvMsgOpt

func (*UserIDOpt) GetUserID

func (x *UserIDOpt) GetUserID() string

func (*UserIDOpt) ProtoMessage

func (*UserIDOpt) ProtoMessage()

func (*UserIDOpt) ProtoReflect

func (x *UserIDOpt) ProtoReflect() protoreflect.Message

func (*UserIDOpt) Reset

func (x *UserIDOpt) Reset()

func (*UserIDOpt) String

func (x *UserIDOpt) String() string

type UserInfo

type UserInfo struct {
	UserID         string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Nickname       string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	FaceURL        string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
	Gender         int32  `protobuf:"varint,4,opt,name=gender,proto3" json:"gender,omitempty"`
	PhoneNumber    string `protobuf:"bytes,5,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	Birth          uint32 `protobuf:"varint,6,opt,name=birth,proto3" json:"birth,omitempty"`
	Email          string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	Ex             string `protobuf:"bytes,8,opt,name=ex,proto3" json:"ex,omitempty"`
	CreateTime     uint32 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime,omitempty"`
	AppMangerLevel int32  `protobuf:"varint,10,opt,name=appMangerLevel,proto3" json:"appMangerLevel,omitempty"`
	// contains filtered or unexported fields
}

func (*UserInfo) Descriptor deprecated

func (*UserInfo) Descriptor() ([]byte, []int)

Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.

func (*UserInfo) GetAppMangerLevel

func (x *UserInfo) GetAppMangerLevel() int32

func (*UserInfo) GetBirth

func (x *UserInfo) GetBirth() uint32

func (*UserInfo) GetCreateTime

func (x *UserInfo) GetCreateTime() uint32

func (*UserInfo) GetEmail

func (x *UserInfo) GetEmail() string

func (*UserInfo) GetEx

func (x *UserInfo) GetEx() string

func (*UserInfo) GetFaceURL

func (x *UserInfo) GetFaceURL() string

func (*UserInfo) GetGender

func (x *UserInfo) GetGender() int32

func (*UserInfo) GetNickname

func (x *UserInfo) GetNickname() string

func (*UserInfo) GetPhoneNumber

func (x *UserInfo) GetPhoneNumber() string

func (*UserInfo) GetUserID

func (x *UserInfo) GetUserID() string

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) ProtoReflect

func (x *UserInfo) ProtoReflect() protoreflect.Message

func (*UserInfo) Reset

func (x *UserInfo) Reset()

func (*UserInfo) String

func (x *UserInfo) String() string

type UserServiceClient

type UserServiceClient interface {
	GetUserById(ctx context.Context, in *GetUserByIdReq, opts ...grpc.CallOption) (*GetUserResp, error)
	GetUserByIds(ctx context.Context, in *GetUserByIdsReq, opts ...grpc.CallOption) (*GetUserListResp, error)
	GetUserByUsername(ctx context.Context, in *GetUserByUsernameReq, opts ...grpc.CallOption) (*GetUserResp, error)
	InsertUser(ctx context.Context, in *InsertUserReq, opts ...grpc.CallOption) (*InsertUserResp, error)
	UpdateUser(ctx context.Context, in *UpdateUserReq, opts ...grpc.CallOption) (*UpdateUserResp, error)
	LoginByPassword(ctx context.Context, in *LoginByPasswordReq, opts ...grpc.CallOption) (*LoginResp, error)
	LoginById(ctx context.Context, in *LoginByIdReq, opts ...grpc.CallOption) (*LoginResp, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserServiceServer

type UserServiceServer interface {
	GetUserById(context.Context, *GetUserByIdReq) (*GetUserResp, error)
	GetUserByIds(context.Context, *GetUserByIdsReq) (*GetUserListResp, error)
	GetUserByUsername(context.Context, *GetUserByUsernameReq) (*GetUserResp, error)
	InsertUser(context.Context, *InsertUserReq) (*InsertUserResp, error)
	UpdateUser(context.Context, *UpdateUserReq) (*UpdateUserResp, error)
	LoginByPassword(context.Context, *LoginByPasswordReq) (*LoginResp, error)
	LoginById(context.Context, *LoginByIdReq) (*LoginResp, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

type VerifyTokenReq

type VerifyTokenReq struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	SendID   string `protobuf:"bytes,3,opt,name=sendID,proto3" json:"sendID,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTokenReq) Descriptor deprecated

func (*VerifyTokenReq) Descriptor() ([]byte, []int)

Deprecated: Use VerifyTokenReq.ProtoReflect.Descriptor instead.

func (*VerifyTokenReq) GetPlatform

func (x *VerifyTokenReq) GetPlatform() string

func (*VerifyTokenReq) GetSendID

func (x *VerifyTokenReq) GetSendID() string

func (*VerifyTokenReq) GetToken

func (x *VerifyTokenReq) GetToken() string

func (*VerifyTokenReq) ProtoMessage

func (*VerifyTokenReq) ProtoMessage()

func (*VerifyTokenReq) ProtoReflect

func (x *VerifyTokenReq) ProtoReflect() protoreflect.Message

func (*VerifyTokenReq) Reset

func (x *VerifyTokenReq) Reset()

func (*VerifyTokenReq) String

func (x *VerifyTokenReq) String() string

type VerifyTokenResp

type VerifyTokenResp struct {
	Uid     string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Success bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	ErrMsg  string `protobuf:"bytes,3,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTokenResp) Descriptor deprecated

func (*VerifyTokenResp) Descriptor() ([]byte, []int)

Deprecated: Use VerifyTokenResp.ProtoReflect.Descriptor instead.

func (*VerifyTokenResp) GetErrMsg

func (x *VerifyTokenResp) GetErrMsg() string

func (*VerifyTokenResp) GetSuccess

func (x *VerifyTokenResp) GetSuccess() bool

func (*VerifyTokenResp) GetUid

func (x *VerifyTokenResp) GetUid() string

func (*VerifyTokenResp) ProtoMessage

func (*VerifyTokenResp) ProtoMessage()

func (*VerifyTokenResp) ProtoReflect

func (x *VerifyTokenResp) ProtoReflect() protoreflect.Message

func (*VerifyTokenResp) Reset

func (x *VerifyTokenResp) Reset()

func (*VerifyTokenResp) String

func (x *VerifyTokenResp) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL