package serverevents type Event struct { Type string `json:"type"` Data any `json:"data"` IsBackendOnly bool `json:"-"` Filter func(c IContext) bool `json:"-"` }