summaryrefslogtreecommitdiffstats
path: root/core/data.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/data.go')
-rw-r--r--core/data.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/data.go b/core/data.go
index 6871a89..4705c75 100644
--- a/core/data.go
+++ b/core/data.go
@@ -25,6 +25,8 @@ const (
PayloadServerAuth = 0x06
PayloadUsermode = 0x07
PayloadHistory = 0x08
+ PayloadList = 0x09
+ PayloadListItem = 0x10
PayloadTest = 0xFF
)
@@ -146,6 +148,10 @@ func Decode(buf io.Reader) (any, error) {
return DecodeUsermode(buf)
case PayloadHistory:
return DecodeHistory(buf)
+ case PayloadList:
+ return DecodeList(buf)
+ case PayloadListItem:
+ return DecodeListItem(buf)
case PayloadTest:
return DecodeTest(buf)
default: