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

Function newClientAdapter

adapters.go:20–22  ·  view source on GitHub ↗

newClientAdapter creates a new client adapter for regular Redis clients.

(client *baseClient)

Source from the content-addressed store, hash-verified

18
19// newClientAdapter creates a new client adapter for regular Redis clients.
20func newClientAdapter(client *baseClient) interfaces.ClientInterface {
21 return &clientAdapter{client: client}
22}
23
24// clientAdapter adapts a Redis client to implement interfaces.ClientInterface.
25type clientAdapter struct {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected