DojiSum's picture
Publish the current 141-task UXInteract release
ef987bb verified
Raw History Blame Contribute Delete
412 Bytes
package lru
import "time"
type Cache struct{}
func NewCache(capacity int) *Cache {
return &Cache{}
}
func (c *Cache) Set(key string, value string) {}
func (c *Cache) SetWithTTL(key string, value string, ttl time.Duration) {}
func (c *Cache) Get(key string) (string, bool) {
return "", false
}
func (c *Cache) GetAndRenewTTL(key string) (string, bool) {
return "", false
}