server_events/v2/event.go
2025-07-06 21:28:31 +02:00

9 lines
242 B
Go

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