MCPcopy Create free account
hub / github.com/astercloud/aster / inMemorySession

Struct inMemorySession

pkg/session/inmemory.go:220–229  ·  view source on GitHub ↗

inMemorySession 内存会话实现

Source from the content-addressed store, hash-verified

218
219// inMemorySession 内存会话实现
220type 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
231func (s *inMemorySession) ID() string {
232 return s.id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected