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

Function newInMemoryState

pkg/session/inmemory.go:269–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

267}
268
269func newInMemoryState() *inMemoryState {
270 return &inMemoryState{
271 data: make(map[string]any),
272 }
273}
274
275func (s *inMemoryState) Get(key string) (any, error) {
276 s.mu.RLock()

Callers 1

CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected