Add structs for listing files

This commit is contained in:
raul 2024-06-14 11:26:39 +02:00
parent f61787a1ba
commit 50ae8f7138
1 changed files with 31 additions and 3 deletions

View File

@ -29,14 +29,42 @@ type ClientBasicInfo struct {
type Instructions struct {
IsHeartbeat bool
IsCommand bool
IsKillswitch bool
// IsDownload bool
// IsUpload bool
// FileName string
// FileContents []byte
IsListFiles bool
Path string
Message string
}
type Response struct {
Successful bool
Message string
// IsUpload bool
// FileName string
// FileContents []byte
IsListFiles bool
FileList
}
type FileList struct {
File []Item
}
type Item struct {
Name string
FullPath string
IsFolder bool
}
type Bulk struct {