2020-03-22 01:01:55 +01:00
|
|
|
package mongostore
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Session struct {
|
|
|
|
ID primitive.ObjectID `bson:"_id,omitempty"`
|
2020-04-02 19:16:51 +02:00
|
|
|
Data string `bson:"data"`
|
2020-03-22 01:01:55 +01:00
|
|
|
Modified time.Time `bson:"modified"`
|
|
|
|
}
|