Documentation
¶
Overview ¶
Package dbcache tracks writes to small configuration tables. Caches retain values only while the table revision is unchanged; metrics are never cached here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvalidateAll ¶
func InvalidateAll()
func Revision ¶
Revision returns the current revision of a watched table. A table that is not watched reports 0 instead of panicking: callers derive the name from the data they cache, and a nil map entry used to dereference nil. 0 is stable for an unwatched table, so a caller comparing two readings still sees "unchanged".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.