Documentation
¶
Overview ¶
Package entryscan is the read-only range seam between the Harness context derivation and the storages that retain decoded entries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ranger ¶
type Ranger interface {
// VisibleEntryRange returns the entries of query's conversation, through its fork ancestry, whose IDs lie within the
// query's inclusive bounds, oldest first. It is the ascending concatenation of the pages ScanEntries returns for the
// same query.
//
// The result shares its entries, and the values they reference, with the storage: callers must not modify any of
// it. Storage.ScanEntries keeps returning detached copies.
VisibleEntryRange(ctx context.Context, query durable.EntryQuery) ([]durable.EntryRecord, error)
}
Ranger is implemented by a storage that serves a conversation's visible entry range from decoded entries it retains.
Click to show internal directories.
Click to hide internal directories.