-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
117 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package resource | ||
|
||
// From LagrangeGo:https://github.com/LagrangeDev/LagrangeGo/blob/master/client/entity/group_file.go | ||
|
||
type GroupFileSystemInfo struct { | ||
GroupUin uint32 | ||
FileCount uint32 | ||
LimitCount uint32 | ||
UsedSpace uint64 | ||
TotalSpace uint64 | ||
} | ||
|
||
type GroupFile struct { | ||
GroupUin uint32 | ||
FileId string | ||
FileName string | ||
BusId uint32 | ||
FileSize uint64 | ||
UploadTime uint32 | ||
DeadTime uint32 | ||
ModifyTime uint32 | ||
DownloadTimes uint32 | ||
Uploader uint32 | ||
UploaderName string | ||
} | ||
|
||
type GroupFolder struct { | ||
GroupUin uint32 | ||
FolderId string | ||
FolderName string | ||
CreateTime uint32 | ||
Creator uint32 | ||
CreatorName string | ||
TotalFileCount uint32 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package resource | ||
|
||
type PagedList struct { | ||
data []interface{} | ||
next string | ||
} |