Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IIndexSource ¶
type IIndexSource[K index.Value, V types.HashType] interface { Get(ctx context.Context, isLeaf bool, index K) (V, error) Set(ctx context.Context, isLeaf bool, index K, value V) error LeafIndex(ctx context.Context, leaf V) (K, error) }
func MemoryIndexSource ¶
func MemoryIndexSource[K index.Value, V types.HashType]() IIndexSource[K, V]
Click to show internal directories.
Click to hide internal directories.