Enable serialization of events

This commit is contained in:
2025-09-26 09:23:40 +02:00
parent db6f63f096
commit df397f5f1d

View File

@@ -3,13 +3,13 @@ package main
import "time"
type Event struct {
Seq int
Type string
Hash string
ItemID string
EventID string
Data map[string]interface{}
Timestamp time.Time
Seq int `json:"seq"`
Type string `json:"type"`
Hash string `json:"hash"`
ItemID string `json:"item_id"`
EventID string `json:"event_id"`
Data map[string]interface{} `json:"data"`
Timestamp time.Time `json:"timestamp"`
}
type SLItem struct {