Documentation
¶
Index ¶
Constants ¶
View Source
const SEND_ACK_CHANNEL channel = "ACK_MESSAGE"
View Source
const SEND_SYSTEM_CHANNEL channel = "SYSTEM_MESSAGE"
View Source
const USER_MSG channel = "USER_MESSAGE"
Channel names
Variables ¶
View Source
var Redis *redis.Client
Redis client
Functions ¶
func PublishMsg ¶
Publishing user message to channel
func UnSubscribe ¶
Removing connection from connections map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.