Documentation ¶
Overview ¶
Package routecache is meant to assist in resolving the most used routes at an application. Implemented as a LRU, it returns always its full context for iteration at the router handler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { MaxEntries int // contains filtered or unexported fields }
Cache holds an internal linkedlist for hotness management. It is not safe for concurrent use, must be guarded externally.
Click to show internal directories.
Click to hide internal directories.