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

Struct EventSource

pkg/event/eventsource/mqtt/mqtt.go:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35)
36
37type EventSource struct {
38 mu sync.Mutex
39 log logr.Logger
40 Spec *ofevent.MQTTSpec
41 Metadata map[string]interface{}
42}
43
44func NewMQTTEventSource(log logr.Logger, spec *ofevent.MQTTSpec) event.OpenFunctionEventSource {
45 es := &EventSource{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected