@ ls works phew

This commit is contained in:
Kovid Goyal
2022-08-25 14:08:27 +05:30
parent fa4711bd04
commit c86f8a698c
4 changed files with 43 additions and 6 deletions

View File

@@ -10,8 +10,13 @@ type RemoteControlCmd struct {
Timestamp int64 `json:"timestamp,omitempty"`
Password string `json:"password,omitempty"`
CancelAsync bool `json:"cancel_async,omitempty"`
single_sent bool
}
func (self *RemoteControlCmd) SingleSent() bool { return self.single_sent }
func (self *RemoteControlCmd) SetSingleSent() { self.single_sent = true }
type EncryptedRemoteControlCmd struct {
Version [3]int `json:"version"`
IV string `json:"iv"`