You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
468 B
22 lines
468 B
1 month ago
|
package model
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
StreamMsgStatusWait = 0
|
||
|
StreamMsgStatusDone = 1
|
||
|
StreamMsgStatusFail = 2
|
||
|
)
|
||
|
|
||
|
type StreamMsg struct {
|
||
|
ClientMsgID string `bson:"client_msg_id"`
|
||
|
ConversationID string `bson:"conversation_id"`
|
||
|
UserID string `bson:"user_id"`
|
||
|
Packets []string `bson:"packets"`
|
||
|
End bool `bson:"end"`
|
||
|
CreateTime time.Time `bson:"create_time"`
|
||
|
DeadlineTime time.Time `bson:"deadline_time"`
|
||
|
}
|