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
|
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
|
||||||
|
|
Loading…
Reference in New Issue