MCPcopy Create free account
hub / github.com/OpenFunction/OpenFunction / EventBus

Struct EventBus

pkg/event/eventbus/natsstreaming/natsstreaming.go:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36)
37
38type EventBus struct {
39 mu sync.Mutex
40 log logr.Logger
41 Spec *ofevent.NatsStreamingSpec
42 Metadata map[string]interface{}
43}
44
45func NewNatsStreamingEventBus(log logr.Logger, spec *ofevent.NatsStreamingSpec) event.OpenFunctionEventBus {
46 eb := &EventBus{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected