Versions in this module Expand all Collapse all v1 v1.0.1 Apr 1, 2023 v1.0.0 Apr 1, 2023 Changes in this version + type Cache struct + func New(capacity int) *Cache + func (c *Cache) Capacity() int + func (c *Cache) Clear() + func (c *Cache) Get(_ context.Context, pattern string, flag recache.Flag) (*regexp.Regexp, error) + func (c *Cache) SetCapacity(capacity int) error + func (c *Cache) Size() int