(_ context.Context)
| 162 | } |
| 163 | |
| 164 | func (s *InMemorySessionStore) GetSessions(_ context.Context) ([]*Session, error) { |
| 165 | sessions := make([]*Session, 0, s.sessions.Length()) |
| 166 | s.sessions.Range(func(key string, value *Session) bool { |
| 167 | sessions = append(sessions, value) |
| 168 | return true |
| 169 | }) |
| 170 | return sessions, nil |
| 171 | } |
| 172 | |
| 173 | func (s *InMemorySessionStore) GetSessionSummaries(_ context.Context) ([]Summary, error) { |
| 174 | summaries := make([]Summary, 0, s.sessions.Length()) |