Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Receive ¶
func Receive( port int, cancel *context.CancelFunc, receiveEvent ReceiveEvent, middlewares ...cloudeventshttp.Middleware)
Receive events and push then to passed fn
Types ¶
type ReceiveEvent ¶ added in v0.6.0
type ReceiveEvent func(e cloudevents.Event)
ReceiveEvent represents a function that receive event
Click to show internal directories.
Click to hide internal directories.