Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
UpdatedAt time.Time `bson:"updated_at"`
mgo.Index `bson:"-"`
UserID string `bson:"user_id"`
Topic string `bson:"topic"`
State string `bson:"state"`
Context bson.Raw `bson:"context,omitempty"`
ID bson.ObjectID `bson:"_id"`
}
func NewSession ¶
func NewSession() *Session
Click to show internal directories.
Click to hide internal directories.