Versions in this module Expand all Collapse all v1 v1.0.1 Dec 7, 2019 v1.0.0 Nov 29, 2019 Changes in this version + const SessionIDSchema + func AssignSessionID(uid string) (string, error) + func GetPlayer(uid string) (netobj.Player, error) + func GetPlayerBySessionID(sid string) (netobj.Player, error) + func IsValidSessionID(sid []byte) (bool, error) + func IsValidSessionTime(sessionTime int64) bool + func NewAccount() netobj.Player + func NewAccountWithID(uid string) netobj.Player + func ParseSIDEntry(sidResult []byte) (string, int64) + func PurgeAllExpiredSessionIDs() + func PurgeSessionID(sid string) error + func SavePlayer(player netobj.Player) error