Module protocol

Module protocol 

Source

Structs§

IdentifyConfig
IDENTIFY命令的配置
Message
NSQ消息格式
MessageResponder
消息响应器 - 用于手动确认消息
Protocol

Enums§

Command
命令类型枚举
Frame
FrameType
帧类型
ProtocolError

Constants§

AUTH
CLS
FIN
FRAME_TYPE_ERROR
FRAME_TYPE_MESSAGE
FRAME_TYPE_RESPONSE
HEARTBEAT
IDENTIFY
MAGIC_V2
NSQ协议常量
MPUB
NOP
OK
PUB
RDY
REQ
SUB
TOUCH

Functions§

read_frame
读取NSQ帧