type github.com/go-redis/redis/v8.Client
57 uses
github.com/go-redis/redis/v8 (current package)
cluster.go#L31: NewClient func(opt *Options) *Client
cluster.go#L165: Client *Client
cluster.go#L847: fn func(ctx context.Context, client *Client) error,
cluster.go#L885: fn func(ctx context.Context, client *Client) error,
cluster.go#L923: fn func(ctx context.Context, client *Client) error,
cluster_commands.go#L11: err := c.ForEachMaster(ctx, func(ctx context.Context, master *Client) error {
commands.go#L339: _ Cmdable = (*Client)(nil)
redis.go#L520: type Client struct {
redis.go#L528: func NewClient(opt *Options) *Client {
redis.go#L531: c := Client{
redis.go#L540: func (c *Client) clone() *Client {
redis.go#L547: func (c *Client) WithTimeout(timeout time.Duration) *Client {
redis.go#L553: func (c *Client) Context() context.Context {
redis.go#L557: func (c *Client) WithContext(ctx context.Context) *Client {
redis.go#L566: func (c *Client) Conn(ctx context.Context) *Conn {
redis.go#L571: func (c *Client) Do(ctx context.Context, args ...interface{}) *Cmd {
redis.go#L577: func (c *Client) Process(ctx context.Context, cmd Cmder) error {
redis.go#L581: func (c *Client) processPipeline(ctx context.Context, cmds []Cmder) error {
redis.go#L585: func (c *Client) processTxPipeline(ctx context.Context, cmds []Cmder) error {
redis.go#L590: func (c *Client) Options() *Options {
redis.go#L597: func (c *Client) PoolStats() *PoolStats {
redis.go#L602: func (c *Client) Pipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
redis.go#L606: func (c *Client) Pipeline() Pipeliner {
redis.go#L615: func (c *Client) TxPipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
redis.go#L620: func (c *Client) TxPipeline() Pipeliner {
redis.go#L629: func (c *Client) pubSub() *PubSub {
redis.go#L668: func (c *Client) Subscribe(ctx context.Context, channels ...string) *PubSub {
redis.go#L678: func (c *Client) PSubscribe(ctx context.Context, channels ...string) *PubSub {
ring.go#L52: NewClient func(name string, opt *Options) *Client
ring.go#L95: opt.NewClient = func(name string, opt *Options) *Client {
ring.go#L157: Client *Client
ring.go#L518: fn func(ctx context.Context, client *Client) error,
script.go#L19: _ scripter = (*Client)(nil)
sentinel.go#L159: func NewFailoverClient(failoverOpt *FailoverOptions) *Client {
sentinel.go#L186: c := Client{
tx.go#L25: func (c *Client) newTx(ctx context.Context) *Tx {
tx.go#L66: func (c *Client) Watch(ctx context.Context, fn func(*Tx) error, keys ...string) error {
universal.go#L187: _ UniversalClient = (*Client)(nil)
golang.org/x/pkgsite/cmd/frontend
main.go#L108: var haClient *redis.Client
main.go#L133: var cacheClient *redis.Client
golang.org/x/pkgsite/cmd/worker
main.go#L158: func getHARedis(ctx context.Context, cfg *config.Config) *redis.Client {
main.go#L165: func getCacheRedis(ctx context.Context, cfg *config.Config) *redis.Client {
main.go#L169: func getRedis(ctx context.Context, host, port string, writeTimeout, readTimeout time.Duration) *redis.Client {
golang.org/x/pkgsite/internal/cache
cache.go#L19: client *redis.Client
cache.go#L23: func New(client *redis.Client) *Cache {
golang.org/x/pkgsite/internal/frontend
server.go#L42: cmplClient *redis.Client
server.go#L64: CompletionClient *redis.Client
server.go#L112: func (s *Server) Install(handle func(string, http.Handler), redisClient *redis.Client, authValues []string) {
golang.org/x/pkgsite/internal/middleware
caching.go#L115: func Cache(name string, client *redis.Client, expirer Expirer, authValues []string) Middleware {
quota.go#L71: func Quota(settings config.QuotaSettings, client *redis.Client) Middleware {
quota.go#L105: func enforceQuota(ctx context.Context, client *redis.Client, qps int, header string, hmacKey []byte) (blocked bool, reason string) {
golang.org/x/pkgsite/internal/worker
server.go#L47: redisHAClient *redis.Client
server.go#L63: RedisHAClient *redis.Client
server.go#L64: RedisCacheClient *redis.Client
 |
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. |