├── .gitignore ├── .travis.yml ├── LICENSE ├── changelog.md ├── conn ├── conn.go ├── conn_test.go └── policy.go ├── heartbeat ├── detector.go ├── hash_expiry_strategy.go ├── hash_expiry_strategy_test.go ├── heart.go ├── heartbeater.go ├── heartbeater_test.go ├── simple_detector.go ├── simple_detector_test.go ├── simple_heart.go ├── simple_heart_test.go ├── strategy.go └── strategy_test.go ├── pubsub ├── client.go ├── events.go ├── listener.go ├── pubsub_test.go └── state.go ├── pubsub2 ├── counters.go ├── emitter.go ├── emitter_test.go ├── event.go ├── event_test.go ├── fuzz_record_list │ └── fuzz.go ├── pumps.go ├── redis.go └── redis_test.go ├── queue ├── base_queue.go ├── base_queue_test.go ├── byte_queue.go ├── byte_queue_test.go ├── durable_queue.go ├── durable_queue_test.go ├── fifo_processor.go ├── fifo_processor_test.go ├── lifo_processor.go ├── lifo_processor_test.go ├── processor.go ├── processor_test.go ├── queue.go ├── scripts.go └── util.go ├── readme.md ├── test └── redis_suite.go └── worker ├── default_lifecycle.go ├── default_lifecycle_test.go ├── default_worker.go ├── default_worker_test.go ├── janitor.go ├── janitor_test.go ├── lifecycle.go ├── lifecycle_test.go ├── task.go ├── task_test.go ├── util.go ├── util_test.go └── worker.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/LICENSE -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/changelog.md -------------------------------------------------------------------------------- /conn/conn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/conn/conn.go -------------------------------------------------------------------------------- /conn/conn_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/conn/conn_test.go -------------------------------------------------------------------------------- /conn/policy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/conn/policy.go -------------------------------------------------------------------------------- /heartbeat/detector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/detector.go -------------------------------------------------------------------------------- /heartbeat/hash_expiry_strategy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/hash_expiry_strategy.go -------------------------------------------------------------------------------- /heartbeat/hash_expiry_strategy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/hash_expiry_strategy_test.go -------------------------------------------------------------------------------- /heartbeat/heart.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/heart.go -------------------------------------------------------------------------------- /heartbeat/heartbeater.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/heartbeater.go -------------------------------------------------------------------------------- /heartbeat/heartbeater_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/heartbeater_test.go -------------------------------------------------------------------------------- /heartbeat/simple_detector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/simple_detector.go -------------------------------------------------------------------------------- /heartbeat/simple_detector_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/simple_detector_test.go -------------------------------------------------------------------------------- /heartbeat/simple_heart.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/simple_heart.go -------------------------------------------------------------------------------- /heartbeat/simple_heart_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/simple_heart_test.go -------------------------------------------------------------------------------- /heartbeat/strategy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/strategy.go -------------------------------------------------------------------------------- /heartbeat/strategy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/heartbeat/strategy_test.go -------------------------------------------------------------------------------- /pubsub/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub/client.go -------------------------------------------------------------------------------- /pubsub/events.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub/events.go -------------------------------------------------------------------------------- /pubsub/listener.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub/listener.go -------------------------------------------------------------------------------- /pubsub/pubsub_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub/pubsub_test.go -------------------------------------------------------------------------------- /pubsub/state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub/state.go -------------------------------------------------------------------------------- /pubsub2/counters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/counters.go -------------------------------------------------------------------------------- /pubsub2/emitter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/emitter.go -------------------------------------------------------------------------------- /pubsub2/emitter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/emitter_test.go -------------------------------------------------------------------------------- /pubsub2/event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/event.go -------------------------------------------------------------------------------- /pubsub2/event_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/event_test.go -------------------------------------------------------------------------------- /pubsub2/fuzz_record_list/fuzz.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/fuzz_record_list/fuzz.go -------------------------------------------------------------------------------- /pubsub2/pumps.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/pumps.go -------------------------------------------------------------------------------- /pubsub2/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/redis.go -------------------------------------------------------------------------------- /pubsub2/redis_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/pubsub2/redis_test.go -------------------------------------------------------------------------------- /queue/base_queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/base_queue.go -------------------------------------------------------------------------------- /queue/base_queue_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/base_queue_test.go -------------------------------------------------------------------------------- /queue/byte_queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/byte_queue.go -------------------------------------------------------------------------------- /queue/byte_queue_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/byte_queue_test.go -------------------------------------------------------------------------------- /queue/durable_queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/durable_queue.go -------------------------------------------------------------------------------- /queue/durable_queue_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/durable_queue_test.go -------------------------------------------------------------------------------- /queue/fifo_processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/fifo_processor.go -------------------------------------------------------------------------------- /queue/fifo_processor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/fifo_processor_test.go -------------------------------------------------------------------------------- /queue/lifo_processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/lifo_processor.go -------------------------------------------------------------------------------- /queue/lifo_processor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/lifo_processor_test.go -------------------------------------------------------------------------------- /queue/processor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/processor.go -------------------------------------------------------------------------------- /queue/processor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/processor_test.go -------------------------------------------------------------------------------- /queue/queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/queue.go -------------------------------------------------------------------------------- /queue/scripts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/scripts.go -------------------------------------------------------------------------------- /queue/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/queue/util.go -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/readme.md -------------------------------------------------------------------------------- /test/redis_suite.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/test/redis_suite.go -------------------------------------------------------------------------------- /worker/default_lifecycle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/default_lifecycle.go -------------------------------------------------------------------------------- /worker/default_lifecycle_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/default_lifecycle_test.go -------------------------------------------------------------------------------- /worker/default_worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/default_worker.go -------------------------------------------------------------------------------- /worker/default_worker_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/default_worker_test.go -------------------------------------------------------------------------------- /worker/janitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/janitor.go -------------------------------------------------------------------------------- /worker/janitor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/janitor_test.go -------------------------------------------------------------------------------- /worker/lifecycle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/lifecycle.go -------------------------------------------------------------------------------- /worker/lifecycle_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/lifecycle_test.go -------------------------------------------------------------------------------- /worker/task.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/task.go -------------------------------------------------------------------------------- /worker/task_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/task_test.go -------------------------------------------------------------------------------- /worker/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/util.go -------------------------------------------------------------------------------- /worker/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/util_test.go -------------------------------------------------------------------------------- /worker/worker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/redutil/HEAD/worker/worker.go --------------------------------------------------------------------------------