(ctx context.Context, host, port, key string, db int, timeout time.Duration)
| 142 | } |
| 143 | |
| 144 | func (c cmdable) Migrate(ctx context.Context, host, port, key string, db int, timeout time.Duration) *StatusCmd { |
| 145 | cmd := NewStatusCmd( |
| 146 | ctx, |
| 147 | "migrate", |
| 148 | host, |
| 149 | port, |
| 150 | key, |
| 151 | db, |
| 152 | formatMs(ctx, timeout), |
| 153 | ) |
| 154 | cmd.setReadTimeout(timeout) |
| 155 | _ = c(ctx, cmd) |
| 156 | return cmd |
| 157 | } |
| 158 | |
| 159 | func (c cmdable) Move(ctx context.Context, key string, db int) *BoolCmd { |
| 160 | cmd := NewBoolCmd(ctx, "move", key, db) |
nothing calls this directly
no test coverage detected