Directories
¶
| Path | Synopsis |
|---|---|
|
Package backoff computes an exponential backoff: how long a loop that keeps failing waits before its next attempt.
|
Package backoff computes an exponential backoff: how long a loop that keeps failing waits before its next attempt. |
|
Package clock abstracts the passage of time so higher layers can inject a deterministic time source in tests instead of coupling to the wall clock.
|
Package clock abstracts the passage of time so higher layers can inject a deterministic time source in tests instead of coupling to the wall clock. |
|
collections
|
|
|
cache
Package cache provides a generic, concurrency-safe LRU + TTL cache (Cache[K,V]) — a kernel primitive (stdlib-only, no domain vocabulary).
|
Package cache provides a generic, concurrency-safe LRU + TTL cache (Cache[K,V]) — a kernel primitive (stdlib-only, no domain vocabulary). |
|
heap
Package heap provides Heap[T], a binary heap ordered by a comparison function the caller supplies.
|
Package heap provides Heap[T], a binary heap ordered by a comparison function the caller supplies. |
|
ring
Package ring — range 0.1.3.* (ADR 0005 kernel/collections/ring block).
|
Package ring — range 0.1.3.* (ADR 0005 kernel/collections/ring block). |
|
concur
|
|
|
batcher
Package batcher provides a generic coalescing buffer: items are appended via Add and handed to a deliver closure in batches — flushed eagerly when an item-count or weight cap is reached, on an optional background ticker, or on an explicit Flush / Close.
|
Package batcher provides a generic coalescing buffer: items are appended via Add and handed to a deliver closure in batches — flushed eagerly when an item-count or weight cap is reached, on an optional background ticker, or on an explicit Flush / Close. |
|
buffer
Package buffer provides a pooled *[]byte for zero-alloc formatting in hot paths.
|
Package buffer provides a pooled *[]byte for zero-alloc formatting in hot paths. |
|
group
Package group — the typed fan-out built on the Group.
|
Package group — the typed fan-out built on the Group. |
|
recycler
Package recycler — CappedPool[T] layers a reset-on-Put + cap-discard policy on top of the plain Pool[T] declared in recycler.go.
|
Package recycler — CappedPool[T] layers a reset-on-Put + cap-discard policy on top of the plain Pool[T] declared in recycler.go. |
|
singleflight
Package singleflight — the in-flight call record shared by every caller of one key.
|
Package singleflight — the in-flight call record shared by every caller of one key. |
|
snapshot
Package snapshot provides Value[T any], a copy-on-write container for read-mostly shared state.
|
Package snapshot provides Value[T any], a copy-on-write container for read-mostly shared state. |
|
worker
Package worker — Every layers a ticker loop on top of the LoopDaemon lifecycle.
|
Package worker — Every layers a ticker loop on top of the LoopDaemon lifecycle. |
|
Package errs — provides package-level introspection helpers that walk a cause chain and read fields from the deepest *Error encountered.
|
Package errs — provides package-level introspection helpers that walk a cause chain and read fields from the deepest *Error encountered. |
|
fs
|
|
|
flock
Package flock takes an exclusive lock on a whole file WITHOUT waiting for it, and gives it back: flock(2) on the Unix kernels that have it, LockFileEx over every byte of the file on Windows (ADR 0081, ADR 0159).
|
Package flock takes an exclusive lock on a whole file WITHOUT waiting for it, and gives it back: flock(2) on the Unix kernels that have it, LockFileEx over every byte of the file on Windows (ADR 0081, ADR 0159). |
|
pathchain
Package pathchain resolves a path one component at a time and reports what each component IS, instead of only what the whole path finally names.
|
Package pathchain resolves a path one component at a time and reports what each component IS, instead of only what the whole path finally names. |
|
winacl
Package winacl reads a Windows directory's discretionary access control list and answers one question of it: does an identifier meaning ANYBODY — Everyone, Authenticated Users, BUILTIN\Users — hold a right, on the directory itself or on the files that will be created in it?
|
Package winacl reads a Windows directory's discretionary access control list and answers one question of it: does an identifier meaning ANYBODY — Everyone, Authenticated Users, BUILTIN\Users — hold a right, on the directory itself or on the files that will be created in it? |
|
Package plugin answers one question a process-wide registry must ask before it publishes anything: is this value usable as an entry at all?
|
Package plugin answers one question a process-wide registry must ask before it publishes anything: is this value usable as an entry at all? |
|
Package semver — the parser: a version cut into what precedence reads, in one pass over its bytes and without a copy of any of them.
|
Package semver — the parser: a version cut into what precedence reads, in one pass over its bytes and without a copy of any of them. |
Click to show internal directories.
Click to hide internal directories.