(session *Session)
| 63 | } |
| 64 | |
| 65 | func (self *SessionList) removeSession(session *Session) { |
| 66 | self.Lock() |
| 67 | defer self.Unlock() |
| 68 | delete(self.mapOnlineList, session.GetSessionId()) |
| 69 | } |
| 70 | |
| 71 | func (self *SessionList) GetSessionById(sessionId string) *Session { |
| 72 | self.RLock() |
no test coverage detected