Eric Bower
·
2026-02-26
cacher.go
1package httpcache
2
3type Cacher interface {
4 Add(key string, val []byte) (evicted bool)
5 Get(key string) (val []byte, ok bool)
6 Keys() []string
7 Len() int
8 Values() [][]byte
9 Purge()
10 Remove(key string) (present bool)
11}