kernel

module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 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 clock abstracts time.Now for testability so that higher layers can inject fake clocks in unit tests without coupling to the wall clock.
Package clock abstracts time.Now for testability so that higher layers can inject fake clocks in unit tests without 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 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 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 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