Configure structs to allow file upload/download

This commit is contained in:
raul 2024-06-18 12:24:54 +02:00
parent 901246e77b
commit 7cb7d0a574
1 changed files with 8 additions and 7 deletions

View File

@ -17,10 +17,10 @@ type Instructions struct {
IsKillswitch bool IsKillswitch bool
// IsDownload bool IsDownload bool
// IsUpload bool IsUpload bool
// FileName string FileName string
// FileContents []byte FileContents []byte
IsListFiles bool IsListFiles bool
Path string Path string
@ -32,9 +32,10 @@ type Response struct {
Successful bool Successful bool
Message string Message string
// IsUpload bool IsDownload bool
// FileName string IsUpload bool
// FileContents []byte FileName string
FileContents []byte
IsListFiles bool IsListFiles bool
FileList FileList