Files
AynaLivePlayer/plugin/wshub/events.go

22 lines
265 B
Go

package wshub
import (
"encoding/json"
)
type EventData struct {
EventID string
Data interface{}
}
type EventDataReceived struct {
EventID string
Data json.RawMessage
}
var eventCache []*EventData
func init() {
eventCache = make([]*EventData, 0)
}