Documentation ¶
Index ¶
- func BlackDB2Pb(ctx context.Context, blackDBs []*relation.BlackModel, ...) (blackPbs []*sdk.BlackInfo, err error)
- func ConversationDB2Pb(conversationDB *relation.ConversationModel) *conversation.Conversation
- func ConversationPb2DB(conversationPB *conversation.Conversation) *relation.ConversationModel
- func ConversationsDB2Pb(conversationsDB []*relation.ConversationModel) (conversationsPB []*conversation.Conversation)
- func ConversationsPb2DB(conversationsPB []*conversation.Conversation) (conversationsDB []*relation.ConversationModel)
- func Db2PbCMSGroup(m *relation.GroupModel, ownerUserID string, ownerUserName string, ...) *pbgroup.CMSGroup
- func Db2PbGroupAbstractInfo(groupID string, groupMemberNumber uint32, groupMemberListHash uint64) *pbgroup.GroupAbstractInfo
- func Db2PbGroupInfo(m *relation.GroupModel, ownerUserID string, memberCount uint32) *sdkws.GroupInfo
- func Db2PbGroupMember(m *relation.GroupMemberModel) *sdkws.GroupMemberFullInfo
- func Db2PbGroupRequest(m *relation.GroupRequestModel, user *sdkws.PublicUserInfo, ...) *sdkws.GroupRequest
- func FriendDB2Pb(ctx context.Context, friendDB *relation.FriendModel, ...) (*sdkws.FriendInfo, error)
- func FriendPb2DB(friend *sdkws.FriendInfo) *relation.FriendModel
- func FriendRequestDB2Pb(ctx context.Context, friendRequests []*relation.FriendRequestModel, ...) ([]*sdkws.FriendRequest, error)
- func FriendsDB2Pb(ctx context.Context, friendsDB []*relation.FriendModel, ...) (friendsPb []*sdkws.FriendInfo, err error)
- func MsgDB2Pb(msgModel *unrelation.MsgDataModel) *sdkws.MsgData
- func MsgPb2DB(msg *sdkws.MsgData) *unrelation.MsgDataModel
- func Pb2DBGroupInfo(m *sdkws.GroupInfo) *relation.GroupModel
- func Pb2DbGroupRequest(req *pbgroup.GroupApplicationResponseReq, handleUserID string) *relation.GroupRequestModel
- func UserPb2DB(user *sdkws.UserInfo) *relationtb.UserModel
- func UsersDB2Pb(users []*relationtb.UserModel) (result []*sdkws.UserInfo)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlackDB2Pb ¶
func ConversationDB2Pb ¶
func ConversationDB2Pb(conversationDB *relation.ConversationModel) *conversation.Conversation
func ConversationPb2DB ¶
func ConversationPb2DB(conversationPB *conversation.Conversation) *relation.ConversationModel
func ConversationsDB2Pb ¶
func ConversationsDB2Pb(conversationsDB []*relation.ConversationModel) (conversationsPB []*conversation.Conversation)
func ConversationsPb2DB ¶
func ConversationsPb2DB(conversationsPB []*conversation.Conversation) (conversationsDB []*relation.ConversationModel)
func Db2PbCMSGroup ¶
func Db2PbGroupAbstractInfo ¶
func Db2PbGroupAbstractInfo( groupID string, groupMemberNumber uint32, groupMemberListHash uint64, ) *pbgroup.GroupAbstractInfo
func Db2PbGroupInfo ¶
func Db2PbGroupMember ¶
func Db2PbGroupMember(m *relation.GroupMemberModel) *sdkws.GroupMemberFullInfo
func Db2PbGroupRequest ¶
func Db2PbGroupRequest( m *relation.GroupRequestModel, user *sdkws.PublicUserInfo, group *sdkws.GroupInfo, ) *sdkws.GroupRequest
func FriendDB2Pb ¶
func FriendPb2DB ¶
func FriendPb2DB(friend *sdkws.FriendInfo) *relation.FriendModel
func FriendRequestDB2Pb ¶
func FriendsDB2Pb ¶
func MsgDB2Pb ¶
func MsgDB2Pb(msgModel *unrelation.MsgDataModel) *sdkws.MsgData
func MsgPb2DB ¶
func MsgPb2DB(msg *sdkws.MsgData) *unrelation.MsgDataModel
func Pb2DBGroupInfo ¶
func Pb2DBGroupInfo(m *sdkws.GroupInfo) *relation.GroupModel
func Pb2DbGroupRequest ¶
func Pb2DbGroupRequest(req *pbgroup.GroupApplicationResponseReq, handleUserID string) *relation.GroupRequestModel
func UsersDB2Pb ¶
func UsersDB2Pb(users []*relationtb.UserModel) (result []*sdkws.UserInfo)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.