MCPcopy
hub / github.com/redis/go-redis / Client

Struct Client

redis.go:1341–1344  ·  redis.go::Client

------------------------------------------------------------------------------ Client is a Redis client representing a pool of zero or more underlying connections. It's safe for concurrent use by multiple goroutines. Client creates and frees connections automatically; it also maintains a free pool

Source from the content-addressed store, hash-verified

1339// Client creates and frees connections automatically; it also maintains a free pool
1340// of idle connections. You can control the pool size with Config.PoolSize option.
1341type Client struct {
1342 *baseClient
1343 cmdable
1344}
1345
1346// NewClient returns a client to the Redis Server specified by Options.
1347// Passing nil Options will cause a panic.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected