Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { // PubsubEvents is the CloudEvents Pubsub protocol to pull // messages as events. Subscription *pubsub.Subscription // Processor is the processor to process events. Processor processors.Interface // Timeout is the timeout for processing each individual event. Timeout time.Duration // contains filtered or unexported fields }
Handler pulls Pubsub messages as events and processes them with chain of processors.
Click to show internal directories.
Click to hide internal directories.