Documentation ¶
Index ¶
Constants ¶
View Source
const ( KAFKA_MESSAGE_MULTI = "multiple" //multi-userid push KAFKA_MESSAGE_BROADCAST = "broadcast" //broadcast push )
Kafka message type Commands
View Source
const ( // handshake OP_HANDSHAKE = int32(0) OP_HANDSHAKE_REPLY = int32(1) // heartbeat OP_HEARTBEAT = int32(2) OP_HEARTBEAT_REPLY = int32(3) // send text messgae OP_SEND_SMS = int32(4) OP_SEND_SMS_REPLY = int32(5) // kick user OP_DISCONNECT_REPLY = int32(6) // auth user OP_AUTH = int32(7) OP_AUTH_REPLY = int32(8) // handshake with sid OP_HANDSHAKE_SID = int32(9) OP_HANDSHAKE_SID_REPLY = int32(10) // for test OP_TEST = int32(254) OP_TEST_REPLY = int32(255) )
View Source
const (
NoRoom = -1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.