type golang.org/x/pkgsite/internal/cache.Cache

12 uses

	golang.org/x/pkgsite/internal/cache (current package)
		cache.go#L18: type Cache struct {
		cache.go#L23: func New(client *redis.Client) *Cache {
		cache.go#L24: 	return &Cache{client: client}
		cache.go#L28: func (c *Cache) Get(ctx context.Context, key string) (value []byte, err error) {
		cache.go#L41: func (c *Cache) Put(ctx context.Context, key string, data []byte, ttl time.Duration) (err error) {
		cache.go#L48: func (c *Cache) Clear(ctx context.Context) (err error) {
		cache.go#L56: func (c *Cache) Delete(ctx context.Context, keys ...string) (err error) {
		cache.go#L63: func (c *Cache) DeletePrefix(ctx context.Context, prefix string) (err error) {

	golang.org/x/pkgsite/internal/middleware
		caching.go#L93: 	cache      *icache.Cache

	golang.org/x/pkgsite/internal/worker
		fetch.go#L47: 	Cache        *cache.Cache
		server.go#L48: 	cache           *cache.Cache
		server.go#L92: 	var c *cache.Cache