Files
golias/pkg/cache/main.go
2025-05-02 09:06:17 +03:00

10 lines
193 B
Go

package cache
type Cache interface {
Get(key string) ([]byte, error)
Set(key string, value []byte)
Expire(key string, exp int64)
GetAll() (resp map[string][]byte)
RemoveKey(key string)
}