9 lines
242 B
Go
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:"-"`
|
|
}
|