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

Method Conn

redis.go:1438–1440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1436}
1437
1438func (c *Client) Conn() *Conn {
1439 return newConn(c.opt, pool.NewStickyConnPool(c.connPool), &c.hooksMixin)
1440}
1441
1442func (c *Client) Process(ctx context.Context, cmd Cmder) error {
1443 err := c.processHook(ctx, cmd)

Callers 5

commands_test.goFile · 0.80
ExampleConn_nameFunction · 0.80
redis_test.goFile · 0.80

Calls 2

NewStickyConnPoolFunction · 0.92
newConnFunction · 0.85

Tested by 2

ExampleConn_nameFunction · 0.64