(sessionId string)
| 69 | } |
| 70 | |
| 71 | func (self *SessionList) GetSessionById(sessionId string) *Session { |
| 72 | self.RLock() |
| 73 | defer self.RUnlock() |
| 74 | return self.mapOnlineList[sessionId] |
| 75 | |
| 76 | } |
| 77 | |
| 78 | func (self *SessionList) GetSessionCount() int { |
| 79 | self.RLock() |
no outgoing calls
no test coverage detected