(ctx context.Context, cn *pool.Conn, cmd Cmder)
| 114 | } |
| 115 | |
| 116 | func (c *PubSub) writeCmd(ctx context.Context, cn *pool.Conn, cmd Cmder) error { |
| 117 | return cn.WithWriter(ctx, c.opt.WriteTimeout, func(wr *proto.Writer) error { |
| 118 | return writeCmd(wr, cmd) |
| 119 | }) |
| 120 | } |
| 121 | |
| 122 | func (c *PubSub) resubscribe(ctx context.Context, cn *pool.Conn) error { |
| 123 | var firstErr error |
no test coverage detected