订阅:subscribe news.sport news
取消订阅:unsubscribe news.sport
发布:publish news.sport hello
模式订阅:psubscribe news.*
取消模式订阅:punsubscribe news.*
查看已订阅的频道:pubsub channels [pattern]
查看指定频道的订阅数:pubsub numsub [channel…]
查看指定频道的模式订阅数:pubsub numpat [channel…]
订阅:subscribe news.sport news
取消订阅:unsubscribe news.sport
发布:publish news.sport hello
模式订阅:psubscribe news.*
取消模式订阅:punsubscribe news.*
查看已订阅的频道:pubsub channels [pattern]
查看指定频道的订阅数:pubsub numsub [channel…]
查看指定频道的模式订阅数:pubsub numpat [channel…]