Redis Publish 命令

更新时间: 2019-07-07 15:54

Redis Publish 命令用于将信息发送到指定的频道。

语法

redis Publish 命令基本语法如下:

redis 127.0.0.1:6379> PUBLISH channel message

可用版本

>= 2.0.0

返回值

接收到信息的订阅者数量。

实例

redis 127.0.0.1:6379> PUBLISH mychannel "hello, i m here"
(integer) 1

查看更多 Redis 发布订阅 命令

Data Structures and Algorithms in Java

Data Structures and Algorithms in Java

Robert Lafore / Sams / 2002-11-06 / USD 64.99

Data Structures and Algorithms in Java, Second Edition is designed to be easy to read and understand although the topic itself is complicated. Algorithms are the procedures that software programs use......一起来看看 《Data Structures and Algorithms in Java》 这本书的介绍吧!

MD5 加密

MD5 加密

MD5 加密工具

html转js在线工具

html转js在线工具

html转js在线工具

正则表达式在线测试

正则表达式在线测试

正则表达式在线测试