2022-03-23 08:58:42 +11:00
|
|
|
package models
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
type Message struct {
|
2022-03-25 08:17:52 +11:00
|
|
|
ID uint64 `storm:"id,increment"`
|
|
|
|
|
ExtID string `storm:"unique"`
|
|
|
|
|
Queue string `storm:"index"`
|
2022-03-23 08:58:42 +11:00
|
|
|
Received time.Time
|
|
|
|
|
Data string
|
|
|
|
|
}
|