Documentation
¶
Overview ¶
Package storetest is the conformance suite for agentmemory.Store implementations. Every store in this repository runs it; a store elsewhere can too.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// New returns a fresh, empty store. Its MaxEntryBytes must be at
// least 64, so the suite can write entries it can reason about.
New func(t *testing.T) agentmemory.Store
// Reopen returns a second handle on the same underlying storage as
// s, for stores that persist. It is nil for a store that does not.
Reopen func(t *testing.T, s agentmemory.Store) agentmemory.Store
}
Options configure a run.
Click to show internal directories.
Click to hide internal directories.