Documentation ¶
Overview ¶
Package recache provides a regex compilation cache.
Index ¶
Constants ¶
View Source
const ( DefaultExpiration = 5 * time.Minute DefaultCleanupInterval = 10 * time.Minute )
Expiration intervals.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegexpCache ¶
type RegexpCache struct {
// contains filtered or unexported fields
}
RegexpCache caches compiled regular expressions.
Click to show internal directories.
Click to hide internal directories.