entryscan

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL