Documentation ¶
Index ¶
- func CheckError(data []byte) error
- func CheckTypedError[T any](data []byte) error
- func ParseFetchClientKeyResp(data []byte) (string, error)
- func ParseFetchCookieResp(data []byte) ([]string, error)
- func ParseFetchFriendsResp(data []byte) ([]*entity.Friend, uint32, error)
- func ParseFetchGroupRequestsReq(data []byte) (*oidb.OidbSvcTrpcTcp0X10C0_1Response, error)
- func ParseFetchGroupSystemMessagesReq(data []byte, groupUin ...uint32) ([]*entity.GroupJoinRequest, error)
- func ParseFetchGroupsResp(data []byte) ([]*entity.Group, error)
- func ParseFetchMemberResp(data []byte) (*entity.GroupMember, error)
- func ParseFetchMembersResp(data []byte) ([]*entity.GroupMember, string, error)
- func ParseFetchUserInfoResp(data []byte) (*entity.Friend, error)
- func ParseFriendLikeResp(data []byte) error
- func ParseGroupFSDownloadResp(data []byte) (string, error)
- func ParseGroupFileCountResp(data []byte) (fileCount uint32, limitCount uint32, error error)
- func ParseGroupFileDeleteResp(data []byte) error
- func ParseGroupFileListResp(data []byte) (*oidb.OidbSvcTrpcTcp0X6D8_1Response, error)
- func ParseGroupFileMoveResp(data []byte) error
- func ParseGroupFileRenameResp(data []byte) error
- func ParseGroupFileSpaceResp(data []byte) (totalSpace uint64, usedSpace uint64, error error)
- func ParseGroupFileUploadResp(data []byte) (*oidb.OidbSvcTrpcTcp0X6D6Response, error)
- func ParseGroupFolderCreateResp(data []byte) error
- func ParseGroupFolderDeleteResp(data []byte) error
- func ParseGroupFolderRenameResp(data []byte) error
- func ParseGroupImageDownloadResp(data []byte) (string, error)
- func ParseGroupImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseGroupKickMemberResp(data []byte) error
- func ParseGroupLeaveResp(data []byte) error
- func ParseGroupMuteGlobalResp(data []byte) error
- func ParseGroupMuteMemberResp(data []byte) error
- func ParseGroupRecordDownloadResp(data []byte) (string, error)
- func ParseGroupRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseGroupRemarkResp(data []byte) error
- func ParseGroupRenameMemberResp(data []byte) error
- func ParseGroupRenameResp(data []byte) error
- func ParseGroupSendFileResp(data []byte) (*oidb.OidbSvcTrpcTcpBase, error)
- func ParseGroupSetAdminResp(data []byte) error
- func ParseGroupSetReactionResp(data []byte) error
- func ParseGroupSetSpecialTitleResp(data []byte) error
- func ParseOidbPacket(b []byte, pkt any) (oidbBaseResp oidb.OidbSvcTrpcTcpBase, err error)
- func ParsePokeResp(data []byte) error
- func ParsePrivateFileDownloadResp(data []byte) (string, error)
- func ParsePrivateFileUploadResp(data []byte) (*oidb.OidbSvcTrpcTcp0XE37Response, error)
- func ParsePrivateImageDownloadResp(data []byte) (string, error)
- func ParsePrivateImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParsePrivateRecordDownloadResp(data []byte) (string, error)
- func ParsePrivateRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
- func ParseSetFriendRequestResp(data []byte) error
- func ParseSetGroupRequestResp(data []byte) error
- func ParseTypedError[T any](data []byte) (*T, error)
- type OidbPacket
- func BuildFetchClientKeyReq() (*OidbPacket, error)
- func BuildFetchCookieReq(domains []string) (*OidbPacket, error)
- func BuildFetchFriendsReq(token uint32) (*OidbPacket, error)
- func BuildFetchGroupRequestsReq() (*OidbPacket, error)
- func BuildFetchGroupSystemMessagesReq(count uint32) (*OidbPacket, error)
- func BuildFetchGroupsReq() (*OidbPacket, error)
- func BuildFetchMemberReq(groupUin uint32, memberUid string) (*OidbPacket, error)
- func BuildFetchMembersReq(groupUin uint32, token string) (*OidbPacket, error)
- func BuildFetchUserInfoReq[T ~string | ~uint32](value T) (*OidbPacket, error)
- func BuildFriendLikeReq(uid string, count uint32) (*OidbPacket, error)
- func BuildFriendPokeReq(uin uint32) (*OidbPacket, error)
- func BuildGroupFSDownloadReq(groupUin uint32, fileId string) (*OidbPacket, error)
- func BuildGroupFileCountReq(groupUin uint32) (*OidbPacket, error)
- func BuildGroupFileDeleteReq(groupUin uint32, fileID string) (*OidbPacket, error)
- func BuildGroupFileListReq(groupUin uint32, targetDirectory string, startIndex uint32, fileCount uint32) (*OidbPacket, error)
- func BuildGroupFileMoveReq(groupUin uint32, fileId string, parentFolder string, targetFolderID string) (*OidbPacket, error)
- func BuildGroupFileRenameReq(groupUin uint32, fileID string, parentFolder string, newFileName string) (*OidbPacket, error)
- func BuildGroupFileSpaceReq(groupUin uint32) (*OidbPacket, error)
- func BuildGroupFileUploadReq(groupUin uint32, file *message.FileElement) (*OidbPacket, error)
- func BuildGroupFolderCreateReq(groupUin uint32, targetDirectory string, folderName string) (*OidbPacket, error)
- func BuildGroupFolderDeleteReq(groupUin uint32, folderID string) (*OidbPacket, error)
- func BuildGroupFolderRenameReq(groupUin uint32, folderID string, newFolderName string) (*OidbPacket, error)
- func BuildGroupImageDownloadReq(groupUin uint32, node *oidb2.IndexNode) (*OidbPacket, error)
- func BuildGroupImageUploadReq(groupUin uint32, image *message.ImageElement) (*OidbPacket, error)
- func BuildGroupKickMemberReq(groupUin uint32, uid string, rejectAddRequest bool) (*OidbPacket, error)
- func BuildGroupLeaveReq(groupUin uint32) (*OidbPacket, error)
- func BuildGroupMuteGlobalReq(groupUin uint32, isMute bool) (*OidbPacket, error)
- func BuildGroupMuteMemberReq(groupUin, duration uint32, uid string) (*OidbPacket, error)
- func BuildGroupPokeReq(groupUin, uin uint32) (*OidbPacket, error)
- func BuildGroupRecordDownloadReq(grpUin uint32, node *oidb.IndexNode) (*OidbPacket, error)
- func BuildGroupRecordUploadReq(groupUin uint32, record *message.VoiceElement) (*OidbPacket, error)
- func BuildGroupRemarkReq(groupUin uint32, mark string) (*OidbPacket, error)
- func BuildGroupRenameMemberReq(groupUin uint32, uid, name string) (*OidbPacket, error)
- func BuildGroupRenameReq(groupUin uint32, name string) (*OidbPacket, error)
- func BuildGroupSendFileReq(groupUin uint32, fileKey string) (*OidbPacket, error)
- func BuildGroupSetAdminReq(groupUin uint32, uid string, isAdmin bool) (*OidbPacket, error)
- func BuildGroupSetReactionReq(groupUin, sequence uint32, code string) (*OidbPacket, error)
- func BuildGroupSetSpecialTitleReq(groupUin uint32, uid, title string) (*OidbPacket, error)
- func BuildOidbPacket(cmd, subCmd uint32, body any, isLafter, isUid bool) (*OidbPacket, error)
- func BuildPrivateFileDownloadReq(selfUid string, fileUUID string, fileHash string) (*OidbPacket, error)
- func BuildPrivateFileUploadReq(selfUid string, targetUid string, file *message.FileElement) (*OidbPacket, error)
- func BuildPrivateImageDownloadReq(selfUid string, node *oidb2.IndexNode) (*OidbPacket, error)
- func BuildPrivateImageUploadReq(targetUid string, image *message.ImageElement) (*OidbPacket, error)
- func BuildPrivateRecordDownloadReq(selfUid string, node *oidb.IndexNode) (*OidbPacket, error)
- func BuildPrivateRecordUploadReq(targetUid string, record *message.VoiceElement) (*OidbPacket, error)
- func BuildSetFriendRequest(accept bool, targetUid string) (*OidbPacket, error)
- func BuildSetGroupRequestReq(accept bool, sequence uint64, typ uint32, groupUin uint32, message string) (*OidbPacket, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckTypedError ¶
func ParseFetchClientKeyResp ¶ added in v0.0.15
func ParseFetchCookieResp ¶ added in v0.0.15
func ParseFetchFriendsResp ¶
func ParseFetchGroupRequestsReq ¶
func ParseFetchGroupRequestsReq(data []byte) (*oidb.OidbSvcTrpcTcp0X10C0_1Response, error)
func ParseFetchGroupSystemMessagesReq ¶ added in v0.0.13
func ParseFetchGroupSystemMessagesReq(data []byte, groupUin ...uint32) ([]*entity.GroupJoinRequest, error)
func ParseFetchMemberResp ¶ added in v0.0.11
func ParseFetchMemberResp(data []byte) (*entity.GroupMember, error)
func ParseFetchMembersResp ¶
func ParseFetchMembersResp(data []byte) ([]*entity.GroupMember, string, error)
func ParseFetchUserInfoResp ¶ added in v0.0.13
func ParseFriendLikeResp ¶
func ParseGroupFSDownloadResp ¶ added in v0.0.15
func ParseGroupFileCountResp ¶ added in v0.0.19
func ParseGroupFileDeleteResp ¶ added in v0.0.19
func ParseGroupFileListResp ¶ added in v0.0.19
func ParseGroupFileListResp(data []byte) (*oidb.OidbSvcTrpcTcp0X6D8_1Response, error)
func ParseGroupFileMoveResp ¶ added in v0.0.19
func ParseGroupFileRenameResp ¶ added in v0.0.19
func ParseGroupFileSpaceResp ¶ added in v0.0.19
func ParseGroupFileUploadResp ¶ added in v0.0.17
func ParseGroupFileUploadResp(data []byte) (*oidb.OidbSvcTrpcTcp0X6D6Response, error)
func ParseGroupFolderCreateResp ¶ added in v0.0.19
func ParseGroupFolderDeleteResp ¶ added in v0.0.19
func ParseGroupFolderRenameResp ¶ added in v0.0.19
func ParseGroupImageDownloadResp ¶ added in v0.0.15
func ParseGroupImageUploadResp ¶
func ParseGroupImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseGroupLeaveResp ¶
func ParseGroupMuteMemberResp ¶
ParseGroupMuteMemberResp 失败了会返回错误原因
func ParseGroupRecordDownloadResp ¶ added in v0.0.11
func ParseGroupRecordUploadResp ¶ added in v0.0.11
func ParseGroupRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseGroupRemarkResp ¶
func ParseGroupRenameResp ¶
func ParseGroupSendFileResp ¶ added in v0.0.17
func ParseGroupSendFileResp(data []byte) (*oidb.OidbSvcTrpcTcpBase, error)
func ParseGroupSetAdminResp ¶
func ParseOidbPacket ¶
func ParseOidbPacket(b []byte, pkt any) (oidbBaseResp oidb.OidbSvcTrpcTcpBase, err error)
func ParsePokeResp ¶
func ParsePrivateFileDownloadResp ¶ added in v0.0.15
func ParsePrivateFileUploadResp ¶ added in v0.0.17
func ParsePrivateFileUploadResp(data []byte) (*oidb.OidbSvcTrpcTcp0XE37Response, error)
func ParsePrivateImageDownloadResp ¶ added in v0.0.15
func ParsePrivateImageUploadResp ¶ added in v0.0.11
func ParsePrivateImageUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParsePrivateRecordDownloadResp ¶ added in v0.0.11
func ParsePrivateRecordUploadResp ¶ added in v0.0.11
func ParsePrivateRecordUploadResp(data []byte) (*oidb.NTV2RichMediaResp, error)
func ParseSetFriendRequestResp ¶ added in v0.0.15
func ParseTypedError ¶ added in v0.0.11
Types ¶
type OidbPacket ¶
func BuildFetchClientKeyReq ¶ added in v0.0.15
func BuildFetchClientKeyReq() (*OidbPacket, error)
func BuildFetchCookieReq ¶ added in v0.0.15
func BuildFetchCookieReq(domains []string) (*OidbPacket, error)
func BuildFetchFriendsReq ¶
func BuildFetchFriendsReq(token uint32) (*OidbPacket, error)
BuildFetchFriendsReq OidbSvcTrpcTcp.0xfd4_1
func BuildFetchGroupRequestsReq ¶
func BuildFetchGroupRequestsReq() (*OidbPacket, error)
func BuildFetchGroupSystemMessagesReq ¶ added in v0.0.13
func BuildFetchGroupSystemMessagesReq(count uint32) (*OidbPacket, error)
func BuildFetchGroupsReq ¶
func BuildFetchGroupsReq() (*OidbPacket, error)
func BuildFetchMemberReq ¶ added in v0.0.11
func BuildFetchMemberReq(groupUin uint32, memberUid string) (*OidbPacket, error)
func BuildFetchMembersReq ¶
func BuildFetchMembersReq(groupUin uint32, token string) (*OidbPacket, error)
func BuildFetchUserInfoReq ¶ added in v0.0.13
func BuildFetchUserInfoReq[T ~string | ~uint32](value T) (*OidbPacket, error)
func BuildFriendLikeReq ¶
func BuildFriendLikeReq(uid string, count uint32) (*OidbPacket, error)
func BuildFriendPokeReq ¶
func BuildFriendPokeReq(uin uint32) (*OidbPacket, error)
func BuildGroupFSDownloadReq ¶ added in v0.0.15
func BuildGroupFSDownloadReq(groupUin uint32, fileId string) (*OidbPacket, error)
func BuildGroupFileCountReq ¶ added in v0.0.19
func BuildGroupFileCountReq(groupUin uint32) (*OidbPacket, error)
func BuildGroupFileDeleteReq ¶ added in v0.0.19
func BuildGroupFileDeleteReq(groupUin uint32, fileID string) (*OidbPacket, error)
func BuildGroupFileListReq ¶ added in v0.0.19
func BuildGroupFileMoveReq ¶ added in v0.0.19
func BuildGroupFileRenameReq ¶ added in v0.0.19
func BuildGroupFileSpaceReq ¶ added in v0.0.19
func BuildGroupFileSpaceReq(groupUin uint32) (*OidbPacket, error)
func BuildGroupFileUploadReq ¶ added in v0.0.17
func BuildGroupFileUploadReq(groupUin uint32, file *message.FileElement) (*OidbPacket, error)
func BuildGroupFolderCreateReq ¶ added in v0.0.19
func BuildGroupFolderCreateReq(groupUin uint32, targetDirectory string, folderName string) (*OidbPacket, error)
func BuildGroupFolderDeleteReq ¶ added in v0.0.19
func BuildGroupFolderDeleteReq(groupUin uint32, folderID string) (*OidbPacket, error)
func BuildGroupFolderRenameReq ¶ added in v0.0.19
func BuildGroupFolderRenameReq(groupUin uint32, folderID string, newFolderName string) (*OidbPacket, error)
func BuildGroupImageDownloadReq ¶ added in v0.0.15
func BuildGroupImageDownloadReq(groupUin uint32, node *oidb2.IndexNode) (*OidbPacket, error)
func BuildGroupImageUploadReq ¶
func BuildGroupImageUploadReq(groupUin uint32, image *message.ImageElement) (*OidbPacket, error)
func BuildGroupKickMemberReq ¶
func BuildGroupKickMemberReq(groupUin uint32, uid string, rejectAddRequest bool) (*OidbPacket, error)
func BuildGroupLeaveReq ¶
func BuildGroupLeaveReq(groupUin uint32) (*OidbPacket, error)
func BuildGroupMuteGlobalReq ¶
func BuildGroupMuteGlobalReq(groupUin uint32, isMute bool) (*OidbPacket, error)
func BuildGroupMuteMemberReq ¶
func BuildGroupMuteMemberReq(groupUin, duration uint32, uid string) (*OidbPacket, error)
func BuildGroupPokeReq ¶
func BuildGroupPokeReq(groupUin, uin uint32) (*OidbPacket, error)
func BuildGroupRecordDownloadReq ¶ added in v0.0.11
func BuildGroupRecordDownloadReq(grpUin uint32, node *oidb.IndexNode) (*OidbPacket, error)
func BuildGroupRecordUploadReq ¶ added in v0.0.11
func BuildGroupRecordUploadReq(groupUin uint32, record *message.VoiceElement) (*OidbPacket, error)
func BuildGroupRemarkReq ¶
func BuildGroupRemarkReq(groupUin uint32, mark string) (*OidbPacket, error)
func BuildGroupRenameMemberReq ¶
func BuildGroupRenameMemberReq(groupUin uint32, uid, name string) (*OidbPacket, error)
func BuildGroupRenameReq ¶
func BuildGroupRenameReq(groupUin uint32, name string) (*OidbPacket, error)
func BuildGroupSendFileReq ¶ added in v0.0.17
func BuildGroupSendFileReq(groupUin uint32, fileKey string) (*OidbPacket, error)
func BuildGroupSetAdminReq ¶
func BuildGroupSetAdminReq(groupUin uint32, uid string, isAdmin bool) (*OidbPacket, error)
func BuildGroupSetReactionReq ¶
func BuildGroupSetReactionReq(groupUin, sequence uint32, code string) (*OidbPacket, error)
func BuildGroupSetSpecialTitleReq ¶
func BuildGroupSetSpecialTitleReq(groupUin uint32, uid, title string) (*OidbPacket, error)
func BuildOidbPacket ¶
func BuildOidbPacket(cmd, subCmd uint32, body any, isLafter, isUid bool) (*OidbPacket, error)
func BuildPrivateFileDownloadReq ¶ added in v0.0.15
func BuildPrivateFileDownloadReq(selfUid string, fileUUID string, fileHash string) (*OidbPacket, error)
func BuildPrivateFileUploadReq ¶ added in v0.0.17
func BuildPrivateFileUploadReq(selfUid string, targetUid string, file *message.FileElement) (*OidbPacket, error)
func BuildPrivateImageDownloadReq ¶ added in v0.0.15
func BuildPrivateImageDownloadReq(selfUid string, node *oidb2.IndexNode) (*OidbPacket, error)
func BuildPrivateImageUploadReq ¶ added in v0.0.11
func BuildPrivateImageUploadReq(targetUid string, image *message.ImageElement) (*OidbPacket, error)
func BuildPrivateRecordDownloadReq ¶ added in v0.0.11
func BuildPrivateRecordDownloadReq(selfUid string, node *oidb.IndexNode) (*OidbPacket, error)
BuildPrivateRecordDownloadReq 私聊语音
func BuildPrivateRecordUploadReq ¶ added in v0.0.11
func BuildPrivateRecordUploadReq(targetUid string, record *message.VoiceElement) (*OidbPacket, error)
func BuildSetFriendRequest ¶ added in v0.0.15
func BuildSetFriendRequest(accept bool, targetUid string) (*OidbPacket, error)
func BuildSetGroupRequestReq ¶
Source Files ¶
- FetchClientKey.go
- FetchCookie.go
- FetchFriends.go
- FetchGroupRequests.go
- FetchGroupSystemMessages.go
- FetchGroups.go
- FetchMember.go
- FetchMembers.go
- FetchUserInfo.go
- FriendLike.go
- GroupFSDownload.go
- GroupFileCount.go
- GroupFileDelete.go
- GroupFileList.go
- GroupFileMove.go
- GroupFileRename.go
- GroupFileSpace.go
- GroupFileUpload.go
- GroupFolderCreate.go
- GroupFolderDelete.go
- GroupFolderRename.go
- GroupImageDownload.go
- GroupImageUpload.go
- GroupKickMember.go
- GroupLeave.go
- GroupMuteGlobal.go
- GroupMuteMember.go
- GroupRecordDownload.go
- GroupRecordUpload.go
- GroupRemark.go
- GroupRename.go
- GroupRenameMember.go
- GroupSendFile.go
- GroupSetAdmin.go
- GroupSetReaction.go
- GroupSetSpecialTitle.go
- Poke.go
- PrivateFileDownload.go
- PrivateFileUpload.go
- PrivateImageDownload.go
- PrivateImageUpload.go
- PrivateRecordUpload.go
- RecordDownload.go
- SetGroupRequest.go
- builder.go
- setFriendRequest.go
Click to show internal directories.
Click to hide internal directories.