gomodule/redigo

Redis streams

Open

#375 opened on 2018年11月20日

GitHub で見る
 (6 comments) (19 reactions) (0 assignees)Go (7,782 stars) (1,116 forks)batch import
EnhancementHelp wanted

説明

I am using Redigo in a project that relies on reading messages from streams. I know this is a newer feature of Redis, but is this something that Redigo plans to support natively in the future? I have cobbled together a stream reader by traversing through the nested interfaces returned from the Do() call and using type assertion (based on trial and improvement and knowledge of whats being sent) to pull useful results out. However this is extremely brittle and only works because I can guarantee whats being appended to the streams. If a code update is not required it would be great to see some documentation showing an idiomatic way of reading streams.

コントリビューターガイド

Redis streams · gomodule/redigo#375 | Good First Issue