Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GatherUserInfo ¶
Types ¶
type User ¶
type User struct {
Id bson.ObjectId `bson:"_id,omitempty" json:"_id,omitempty"`
Login string `bson:"login,omitempty" json:"login,omitempty"`
PasswordHash string `bson:"pwd,omitempty" json:"-,omitpempty"`
Email string `bson:"email,omitempty" json:"email,omitempty"`
LastSID string `bson:"lastSID,omitempty" json:"-,omitempty"`
LastSessionStart time.Time `bson:"lastSessionStart,omitempty" json:"lastSessionStart,omitempty"`
LastSessionEnd time.Time `bson:"lastSessionEnd,omitempty" json:"lastSessionEnd,omitempty"`
}
func (*User) IsLoggedIn ¶
Click to show internal directories.
Click to hide internal directories.