func mirrorNextIndex(conn *client.Conn, args []string) { if key, value, index, existed := conn.MirrorNextIndex([]byte(args[1]), *(mustAtoi(args[2]))); existed { fmt.Printf("%v: %v => %v\n", index, decode(key), string(value)) } }