Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LuaScriptExec ¶
type LuaScriptExec struct { Topic string // 订阅key Channel string // 订阅渠道 Workers LuaScriptWorkers // 消息处理执行 }
func (*LuaScriptExec) GetSubscription ¶
func (c *LuaScriptExec) GetSubscription() (string, string)
func (*LuaScriptExec) HandleMessage ¶
func (c *LuaScriptExec) HandleMessage(msg *nsq.Message) error
type LuaScriptMessageBody ¶
type LuaScriptWorkers ¶
Click to show internal directories.
Click to hide internal directories.