Documentation
¶
Overview ¶
Package publishers provides implementations of various publisher strategies
Index ¶
- func NewDropToStdoutPublisher() worker.Publisher
- func NewPingingPublisher(ctx context.Context, publisher worker.Publisher, interval time.Duration, ...) worker.Publisher
- func NewRetryingWithFallbackPublisher(primary, fallback worker.Publisher, maxRetries uint, retryDelay time.Duration) worker.Publisher
- type RetryingWithFallbackStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDropToStdoutPublisher ¶
NewDropToStdoutPublisher creates a new publisher instance that writes hits to stdout
Types ¶
type RetryingWithFallbackStorage ¶
type RetryingWithFallbackStorage struct {
// contains filtered or unexported fields
}
RetryingWithFallbackStorage implements Storage interface with retry logic and fallback
Click to show internal directories.
Click to hide internal directories.