Documentation
¶
Index ¶
- Constants
- type Session
- type SessionList
- func (this *SessionList) CloseSession(session *Session)
- func (this *SessionList) ForEachSession(visit func(*Session))
- func (this *SessionList) GetSessionById(sSessionId string) *Session
- func (this *SessionList) GetSessionCount() int
- func (this *SessionList) NewSession(wsConn *websocket.Conn) (session *Session, err error)
Constants ¶
View Source
const SESSION_TIMEOUT int64 = 600
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
func (*Session) GetSessionId ¶
func (*Session) SessionTimeoverCheck ¶
func (*Session) UpdateActiveTime ¶
func (this *Session) UpdateActiveTime()
type SessionList ¶
func NewSessionList ¶
func NewSessionList() *SessionList
func (*SessionList) CloseSession ¶
func (this *SessionList) CloseSession(session *Session)
func (*SessionList) ForEachSession ¶
func (this *SessionList) ForEachSession(visit func(*Session))
func (*SessionList) GetSessionById ¶
func (this *SessionList) GetSessionById(sSessionId string) *Session
func (*SessionList) GetSessionCount ¶
func (this *SessionList) GetSessionCount() int
func (*SessionList) NewSession ¶
func (this *SessionList) NewSession(wsConn *websocket.Conn) (session *Session, err error)
Click to show internal directories.
Click to hide internal directories.