gomodule/redigo

Add high-level pubsub API

Open

#296 建立於 2017年11月22日

在 GitHub 查看
 (1 留言) (5 反應) (0 負責人)Go (7,782 star) (1,116 fork)batch import
EnhancementHelp wanted

描述

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.

貢獻者指南

Add high-level pubsub API · gomodule/redigo#296 | Good First Issue