Configure structs to allow file upload/download
This commit is contained in:
parent
901246e77b
commit
7cb7d0a574
15
structs.go
15
structs.go
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue