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
// IsDownload bool
// IsUpload bool
// FileName string
// FileContents []byte
IsDownload bool
IsUpload bool
FileName string
FileContents []byte
IsListFiles bool
Path string
@ -32,9 +32,10 @@ type Response struct {
Successful bool
Message string
// IsUpload bool
// FileName string
// FileContents []byte
IsDownload bool
IsUpload bool
FileName string
FileContents []byte
IsListFiles bool
FileList