@@ -10,7 +10,7 @@ type ttlCache struct {
buf *expirable.LRU[string, []byte]
}
-func New(size int, ttl time.Duration) Cache {
+func NewTTLCache(size int, ttl time.Duration) Cache {
c := &ttlCache{}
c.buf = expirable.NewLRU[string, []byte](size, nil, ttl)
return c