diff --git a/structs.go b/structs.go index f7dcbee..07c5282 100644 --- a/structs.go +++ b/structs.go @@ -11,13 +11,40 @@ type Client struct { } type Instructions struct { - IsHeartbeat bool - IsCommand bool + IsHeartbeat bool + + IsCommand bool + IsKillswitch bool - Message string + + // 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 }