Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
ID string `json:"-" bson:"_id"`
IsServer bool `json:"isServer" bson:"isServer"`
ServerID string `json:"-" bson:"serverId,omitempty"`
UserID string `json:"userId,omitempty" bson:"userId,omitempty"`
Duration int64 `json:"-" bson:"duration"`
ExpiresAt time.Time `json:"-" bson:"expiresAt"`
CreatedAt time.Time `json:"-" bson:"createdAt"`
Time time.Time `json:"-" bson:"time"`
}
Click to show internal directories.
Click to hide internal directories.