Redis Subscribe 命令
Redis 教程
· 2019-03-08 08:42:13
Redis Subscribe 命令用于订阅给定的一个或多个频道的信息。。
语法
redis Subscribe 命令基本语法如下:
redis 127.0.0.1:6379> SUBSCRIBE channel [channel ...]
可用版本
>= 2.0.0
返回值
接收到的信息
实例
redis 127.0.0.1:6379> SUBSCRIBE mychannel Reading messages... (press Ctrl-C to quit) 1) "subscribe" 2) "mychannel" 3) (integer) 1 1) "message" 2) "mychannel" 3) "a"
点击查看所有 Redis 教程 文章: https://codercto.com/courses/l/33.html
Getting Real
Jason Fried、Heinemeier David Hansson、Matthew Linderman / 37signals / 2009-11-18 / USD 24.99
Getting Real details the business, design, programming, and marketing principles of 37signals. The book is packed with keep-it-simple insights, contrarian points of view, and unconventional approaches......一起来看看 《Getting Real》 这本书的介绍吧!