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