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 group — the typed fan-out built on the Group.
|
Package group — the typed fan-out built on the Group. |
|
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 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 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. |
Click to show internal directories.
Click to hide internal directories.