cmdErrInjector fails a single named command without sending it, simulating a server error on that command (e.g. a WATCH that the server rejects).
| 118 | // cmdErrInjector fails a single named command without sending it, simulating a |
| 119 | // server error on that command (e.g. a WATCH that the server rejects). |
| 120 | type cmdErrInjector struct { |
| 121 | name string |
| 122 | err error |
| 123 | } |
| 124 | |
| 125 | func (h *cmdErrInjector) DialHook(next redis.DialHook) redis.DialHook { return next } |
| 126 |
nothing calls this directly
no outgoing calls
no test coverage detected