Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Worker ¶
func Worker(p *Pusher, input *WorkRequest, responseCh chan *WorkResponse)
this is thread safe as long as it doesn't mutate anything from input structs
Types ¶
type StreamStatus ¶
type WorkRequest ¶
type WorkRequest struct { SubscriptionId string Status *StreamStatus }
type WorkResponse ¶
type WorkResponse struct { Request *WorkRequest Error error Sleep time.Duration ShouldContinueRunning bool // if this is subscription stream, intelligence about // where the Target stands on subscribed streams that // had activity ActivityIntelligence []*StreamStatus SubscriptionId string }
Click to show internal directories.
Click to hide internal directories.