Files
copilot-app/internal/cache/cacheable.go
2025-08-13 19:03:20 +08:00

9 lines
189 B
Go

package cache
type Cacheable interface {
Set(key string, value interface{}, ttl int) error
Get(key string) (interface{}, error)
Exist(key string) (bool, error)
Del(key string) error
}