Documentation ¶
Index ¶
- func TestBatchConsumer(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig, messageSize int)
- func TestCallOnce(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestConsumer(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestDelay(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestErrorDelay(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestFallback(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestInvalidCredentials(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestLen(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestNamedJob(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestRateLimit(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestRetry(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- func TestUnknownTask(t *testing.T, factory taskq.Factory, opt *taskq.QueueConfig)
- type RateLimitError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestBatchConsumer ¶
func TestCallOnce ¶
func TestConsumer ¶
func TestErrorDelay ¶
func TestFallback ¶
func TestInvalidCredentials ¶
func TestNamedJob ¶
func TestRateLimit ¶
func TestUnknownTask ¶
Types ¶
type RateLimitError ¶
type RateLimitError string
func (RateLimitError) Delay ¶
func (RateLimitError) Delay() time.Duration
func (RateLimitError) Error ¶
func (e RateLimitError) Error() string
Click to show internal directories.
Click to hide internal directories.