()
| 137 | } |
| 138 | |
| 139 | func NewInMemorySessionStore() Store { |
| 140 | return &InMemorySessionStore{ |
| 141 | sessions: concurrent.NewMap[string, *Session](), |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | func (s *InMemorySessionStore) AddSession(_ context.Context, session *Session) error { |
| 146 | if session.ID == "" { |