inMemorySession 内存会话实现
| 218 | |
| 219 | // inMemorySession 内存会话实现 |
| 220 | type inMemorySession struct { |
| 221 | id string |
| 222 | appName string |
| 223 | userID string |
| 224 | agentID string |
| 225 | state *inMemoryState |
| 226 | events *inMemoryEvents |
| 227 | metadata map[string]any |
| 228 | lastUpdateTime time.Time |
| 229 | } |
| 230 | |
| 231 | func (s *inMemorySession) ID() string { |
| 232 | return s.id |
nothing calls this directly
no outgoing calls
no test coverage detected