golang.org/x/pkgsite/internal/cache.Cache.client (field)
7 uses
golang.org/x/pkgsite/internal/cache (current package)
cache.go#L19: client *redis.Client
cache.go#L24: return &Cache{client: client}
cache.go#L30: val, err := c.client.Get(ctx, key).Bytes()
cache.go#L43: _, err = c.client.Set(ctx, key, data, ttl).Result()
cache.go#L50: status := c.client.FlushAll(ctx)
cache.go#L58: cmd := c.client.Unlink(ctx, keys...) // faster, asynchronous delete
cache.go#L65: iter := c.client.Scan(ctx, 0, prefix+"*", int64(scanCount)).Iterator()
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |