internal/

directory
v1.0.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package breaker is the circuit breaker of one segment of the resolver: it counts consecutive failed calls to the store and, once open, refuses calls until a cool-down has passed.
Package breaker is the circuit breaker of one segment of the resolver: it counts consecutive failed calls to the store and, once open, refuses calls until a cool-down has passed.
Package calldecision decides how a shared call to the store ended, exactly once, under one lock: either the store returned in time or its deadline fired first.
Package calldecision decides how a shared call to the store ended, exactly once, under one lock: either the store returned in time or its deadline fired first.
Package lrucache is the bounded, sharded LRU of the answers of one segment of the resolver, with a time to live for members and one for non members, and a version token that turns the entries of an older version into misses.
Package lrucache is the bounded, sharded LRU of the answers of one segment of the resolver, with a time to live for members and one for non members, and a version token that turns the entries of an older version into misses.
Package shutdownbound is the bound of the Shutdown of the store behind a resolver: what the first Shutdown call of the resolver fixes, whichever caller ends up running the store's Shutdown.
Package shutdownbound is the bound of the Shutdown of the store behind a resolver: what the first Shutdown call of the resolver fixes, whichever caller ends up running the store's Shutdown.

Jump to

Keyboard shortcuts

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