Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT

Directories

Path Synopsis
Package follow is the loop the file and database stores share to implement agentsession.Follower: a store says how to read a session up to a cursor and what has been written beyond one, and Run turns that into the iterator, keeping the follower's own session, yielding the changes in order and waiting between them.
Package follow is the loop the file and database stores share to implement agentsession.Follower: a store says how to read a session up to a cursor and what has been written beyond one, and Run turns that into the iterator, keeping the follower's own session, yielding the changes in order and waiting between them.
Package followtest is the helper the Follow tests of every store share: a follow ranged over in a goroutine, so a case can wait for the next change with a timeout and check that nothing else comes.
Package followtest is the helper the Follow tests of every store share: a follow ranged over in a goroutine, so a case can wait for the next change with a timeout and check that nothing else comes.
Package ijson checks that a JSON document is I-JSON (RFC 7493) by the test the session format states: every number is finite once rounded to binary64, a number whose exact value is a whole number is exactly representable in binary64 or is the exact value of the canonical rendering of the nearest double, no object repeats a member name, and no string holds a lone surrogate.
Package ijson checks that a JSON document is I-JSON (RFC 7493) by the test the session format states: every number is finite once rounded to binary64, a number whose exact value is a whole number is exactly representable in binary64 or is the exact value of the canonical rendering of the nearest double, no object repeats a member name, and no string holds a lone surrogate.
Package jcs implements the JSON Canonicalization Scheme (RFC 8785): members sorted by UTF-16 code units, no insignificant whitespace, strings with the minimal escapes the scheme prescribes and numbers in the ECMAScript Number.prototype.toString form.
Package jcs implements the JSON Canonicalization Scheme (RFC 8785): members sorted by UTF-16 code units, no insignificant whitespace, strings with the minimal escapes the scheme prescribes and numbers in the ECMAScript Number.prototype.toString form.
Package jsonx holds the encoding/json helpers the agentsession packages share: escape-free marshalling, member joining for objects with unknown members, and struct key discovery.
Package jsonx holds the encoding/json helpers the agentsession packages share: escape-free marshalling, member joining for objects with unknown members, and struct key discovery.
Package origin picks a fork's origin from the sessions a store found holding its base, asking the caller's read check (agentsession's WithReadable) only once the store has let go of its own locks: the check is a program's authorizer, which may read the store.
Package origin picks a fork's origin from the sessions a store found holding its base, asking the caller's read check (agentsession's WithReadable) only once the store has let go of its own locks: the check is a program's authorizer, which may read the store.
Package procs answers one question for the stores' session locks: does a process with this ID still exist on this host.
Package procs answers one question for the stores' session locks: does a process with this ID still exist on this host.
Package wake carries the two pieces of waiting a follower shares across stores: a per-session broadcast a writer in the same process rings, and the interval a follower polls at when nothing rings.
Package wake carries the two pieces of waiting a follower shares across stores: a per-session broadcast a writer in the same process rings, and the interval a follower polls at when nothing rings.

Jump to

Keyboard shortcuts

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