Versions in this module Expand all Collapse all v0 v0.0.1 Nov 2, 2022 Changes in this version + var ErrKeyNotFound = errors.New("key not found") + var ErrNotEnoughSpace = errors.New("not enough space") + type Cache struct + func NewCache() *Cache + func (c *Cache) Del(key string) error + func (c *Cache) Get(key string) ([]byte, error) + func (c *Cache) Set(key string, value []byte, expiration time.Duration) error