gomodule / gomodule/redigo

Add high-level pubsub API

Open
#296 1 comment 5 reactions 0 assignees View on GitHub
Enhancement Help wanted
Dominant language
Go
Stars
9.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Add high-level pubsub API that accomplishes the following goals:

- Hides receive loop from application, possibly by calling application supplied function to handle notifications.
- Uses context.Context to cancel subscriptions.
- Provides way for application to backfill after dialing and subscribing.
- Uses ping to check for live connection and server.
- Optional: support using pool to get connections.
- Optional: subscribe/unsubscribe after running.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.