feat: 新增账号编码和HTTP连接功能
This commit is contained in:
12
consts/public/msg_key.go
Normal file
12
consts/public/msg_key.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package public
|
||||
|
||||
const GmqMsgPluginsName = "gmq_msg"
|
||||
|
||||
const AccountDialogKeyUserId = "account:dialog:%s"
|
||||
|
||||
const (
|
||||
AccountFollowupTopic = "account:followup:stream" // 请求 Stream 键名(与发消息的key一致)
|
||||
AccountFollowupConsumer = "account-followup-consumer" // 消费者名称(唯一标识)
|
||||
AccountFollowupCount = 1 // 批处理大小(每次读取1条)
|
||||
AccountFollowupAck = false // ACK是否自动确认(true自动确认,false不确认)
|
||||
)
|
||||
@@ -2,6 +2,7 @@ package public
|
||||
|
||||
// sql 数据库表名
|
||||
const (
|
||||
TableNameAccount = "account"
|
||||
TableNameScriptedSpeech = "scripted_speech"
|
||||
TableNameAccount = "account"
|
||||
TableNameAccountUserDialog = "account_user_dialog"
|
||||
TableNameScriptedSpeech = "scripted_speech"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user