We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e48a4a5 commit 8febc8dCopy full SHA for 8febc8d
demux/event.go
@@ -12,8 +12,8 @@ import (
12
type Factory func(ctx *EventContext) any
13
14
type EventContext struct {
15
- event map[string]any
16
- resourceContext map[string]any
+ Event map[string]any
+ ResourceContext map[string]any
17
}
18
19
func processEvent(
@@ -81,8 +81,8 @@ func createEvent(rawEvent map[string]any, eventFactories []Factory) any {
81
82
83
ctx := &EventContext{
84
- event: rawEvent,
85
- resourceContext: rawResourceContext,
+ Event: rawEvent,
+ ResourceContext: rawResourceContext,
86
87
88
for _, eventFactory := range eventFactories {
0 commit comments