Documentation
¶
Overview ¶
Package fake provides an in-memory queuepause.Store for tests and examples. Seed or change a queue's state with Set; a queue never set is not paused. FailWith injects a read error on every Get to exercise the error path without a real backend. Safe for concurrent use, so a test can change state while a consumer is reading. It is intended for tests and examples only, never production.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a programmable in-memory queuepause.Store.
Click to show internal directories.
Click to hide internal directories.