kernel

module
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT

Directories

Path Synopsis
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.
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.
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).
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.
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.
Package group — the typed fan-out built on the Group.
Package group — the typed fan-out built on the Group.
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.
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.
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 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.
Package ring — range 0.1.3.* (ADR 0005 kernel/ring block).
Package ring — range 0.1.3.* (ADR 0005 kernel/ring block).
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.
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.
Package topic — the per-subscriber backpressure decision, made at the call site and impossible to leave unmade.
Package topic — the per-subscriber backpressure decision, made at the call site and impossible to leave unmade.
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.

Jump to

Keyboard shortcuts

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