# Functions
HandleSignal fetch signal from chan then do exit or reload.
NewConfig parse config file into Config.
InitRPC start accept rpc call.
InitSignal register signals handler.
InitStorage init the storage type(mysql or redis).
InitZK create zookeeper root path, and register a temp node.
NewMySQLStorage initialize mysql pool and consistency hash ring.
NewRedis initialize the redis pool and consistency hash ring.
# Constants
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Config struct.
RPC For receive offline messages.
MySQL Storage struct.
Struct for delele message.
RedisMessage struct encoding the composite info.
No description provided by the author
# Interfaces
Stored messages interface.