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

Method Get

pkg/memory/logic/store.go:18–18  ·  view source on GitHub ↗

Get 获取单个 Memory 返回 ErrMemoryNotFound 如果不存在

(ctx context.Context, namespace, key string)

Source from the content-addressed store, hash-verified

16 // Get 获取单个 Memory
17 // 返回 ErrMemoryNotFound 如果不存在
18 Get(ctx context.Context, namespace, key string) (*LogicMemory, error)
19
20 // Delete 删除 Memory
21 // 如果不存在不返回错误

Callers 5

WrapModelCallMethod · 0.65
RecordMemoryMethod · 0.65
ProcessEventMethod · 0.65
GetMemoryMethod · 0.65

Implementers 3

MySQLStorepkg/memory/logic/store_mysql.go
PostgreSQLStorepkg/memory/logic/store_postgres.go
InMemoryStorepkg/memory/logic/store_inmemory.go

Calls

no outgoing calls

Tested by

no test coverage detected